olaf
Thu 7 September 2006, 04:23 pm GMT +0200
Hi,
finally I get my renewed php mail class working, but I can't get of the problem that the mail ends in the junk mail box in MS outlook.
The strange thing is that this happens not for 100 %, some outlook clients accepts the mail within the inbox and others not.
I have two computers here in the network with the same version of Outlook: but one accepts the mail and thother moves the mail to the junk folder.
does some a knew a good resource where I can find information (please don't tell me to use phpmailer, this happens with phpmailer too if you use the mail() function)
Nikolas
Thu 7 September 2006, 04:30 pm GMT +0200
Is this propably something that happens anyway when you send image attachments?
olaf
Thu 7 September 2006, 04:36 pm GMT +0200
Is this propably something that happens anyway when you send image attachments?
yes a mail with html embeded images and a attachment
Nikolas
Thu 7 September 2006, 04:43 pm GMT +0200
I think this is the problem.
If you send an email with no attachments or embedded images it wont be marked as spam
olaf
Thu 7 September 2006, 08:17 pm GMT +0200
I will check it tommorrow with and without (embeded) attachments
olaf
Fri 8 September 2006, 11:51 am GMT +0200
OK here a summary from some test's:
first I send a html e-mail with embeded images and an attachemnt to different outlook users:
me: junk
collega (same network): inbox
collega (at home): junk
friend (somewhere): inbox
you see this is not logical
no I send some different mail (only to me) all with the same addresses (but this time the mail is not send in the CC or Bcc:
1. text mail with attachment -> inbox
2 text mail -> inbox
3. html mail with embed images -> inbox
4. html mail with embed images and attachement -> inbox
...
it looks like the proble is that the mail is send via cc or bcc...
Nikolas
Fri 8 September 2006, 12:03 pm GMT +0200
So I guess the problem is solved (at least for now)
olaf
Fri 8 September 2006, 12:04 pm GMT +0200
So I guess the problem is solved (at least for now)
until I send mails via the cc :(
olaf
Fri 8 September 2006, 12:14 pm GMT +0200
I tried it:
I send a Cc to collega in the same network:
html mail without images and one zip attachment, works fine but a html email with embeded images and no attachements has reached my inbox but is junk at the outlook from my collega, will say something is wrong with the images?
Nikolas
Fri 8 September 2006, 12:17 pm GMT +0200
Does the html body has <html>, <head> and <body> tags?
If yes remove them as they are cathed as spam by most of the spam filters.
olaf
Fri 8 September 2006, 12:32 pm GMT +0200
I found the problem, the content id of each image needs the a trailing server name like:
Content-ID: <part1.04080306.03060607@finalwebsites.com>
if this server name does not exist or is different from the message content ID then it looks like spam for Outlook.
(by the way this is a kind of PHP thread without php code, maybe I need to post some ;))
olaf
Fri 8 September 2006, 12:34 pm GMT +0200
Does the html body has <html>, <head> and <body> tags?
If yes remove them as they are cathed as spam by most of the spam filters.
I think a buggy html should be a problem for a lot of webclients...
Nikolas
Fri 8 September 2006, 12:36 pm GMT +0200
Yes it is difficult in our days to send legal mailing lists (while spamming seems to be very easy....)