22, November 2008

mail send with php mail script end in junkmail... - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: mail send with php mail script end in junkmail...
« previous next »
Pages: [1] Print

Author Topic: mail send with php mail script end in junkmail...  (Read 1328 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6439
39458 credits
Members referred : 374


It's time to use PHP5!


« on: Sep 07, 2006, 05:23:37 PM »

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)


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8249
42481 credits
Members referred : 3



« Reply #1 on: Sep 07, 2006, 05:30:01 PM »

Is this propably something that happens anyway when you send image attachments?

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6439
39458 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Sep 07, 2006, 05:36:43 PM »

Is this propably something that happens anyway when you send image attachments?
yes a mail with html embeded images and a attachment


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8249
42481 credits
Members referred : 3



« Reply #3 on: Sep 07, 2006, 05:43:07 PM »

I think this is the problem.

If you send an email with no attachments or embedded images it wont be marked as spam

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6439
39458 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Sep 07, 2006, 09:17:05 PM »

I will check it tommorrow with and without (embeded) attachments


Last blog : Just a better Internet portal provided by Google
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6439
39458 credits
Members referred : 374


It's time to use PHP5!


« Reply #5 on: Sep 08, 2006, 12:51:36 PM »

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...


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8249
42481 credits
Members referred : 3



« Reply #6 on: Sep 08, 2006, 01:03:18 PM »

So I guess the problem is solved (at least for now)

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6439
39458 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Sep 08, 2006, 01:04:50 PM »

So I guess the problem is solved (at least for now)
until I send mails via the cc Sad


Last blog : Just a better Internet portal provided by Google
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6439
39458 credits
Members referred : 374


It's time to use PHP5!


« Reply #8 on: Sep 08, 2006, 01:14:32 PM »

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?


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8249
42481 credits
Members referred : 3



« Reply #9 on: Sep 08, 2006, 01:17:07 PM »

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.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6439
39458 credits
Members referred : 374


It's time to use PHP5!


« Reply #10 on: Sep 08, 2006, 01:32:46 PM »

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 Wink)


Last blog : Just a better Internet portal provided by Google
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6439
39458 credits
Members referred : 374


It's time to use PHP5!


« Reply #11 on: Sep 08, 2006, 01:34:01 PM »

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...


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8249
42481 credits
Members referred : 3



« Reply #12 on: Sep 08, 2006, 01:36:43 PM »

Yes it is difficult in our days to send legal mailing lists (while spamming seems to be very easy....)

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3986
Tags : php html spam email mailing lists Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: mail send with php mail script end in junkmail...
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Nov 22, 2008, 05:30:29 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.733
Total Topics: 7.649
Total Members: 4.394
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: rdgoetz

37 Guests, 4 Users online :

16 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.