Re: [PHP] sending mail via php and unix box-clients thinks it's spam
blackwater dev wrote: Here is what I use as the header: $header=From:[EMAIL PROTECTED]: text/html; I think you need a space in there: $header=From: [EMAIL PROTECTED]: text/html; Thanks! On 5/31/06, Richard Lynch [EMAIL PROTECTED] wrote: On Tue, May 30, 2006 12:45 pm, blackwater dev wrote: I have a site running on a linux box. If I use my mail server via an email client, the email works fine but if I send email through the mail function, clients mark it as spam. I see the line in php.ini for SMTP but that says windows only. How do I tell php to use my mail server? While it is possible that the IP has been logged as a spammer, it's more likely that the email headers are tripping you up... Compare the two sets of email headers and see what you get, and also look at the information provided by the spam filters about WHY they think it's spam. -- Like Music? http://l-i-e.com/artists.htm Cheers -- David Robley (C) 1992 Wild Bill's Machine Gun Shop and House of Wax. Today is Boomtime, the 16th day of Confusion in the YOLD 3172. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sending mail via php and unix box-clients thinks it's spam
On 6/11/06, David Robley [EMAIL PROTECTED] wrote: blackwater dev wrote: Here is what I use as the header: $header=From:[EMAIL PROTECTED]: text/html; As Richard Lynch, suggested you need to check the headers from both the emails. Send exatcly the same mails to yourself, using both methods, and then using your mail client, check the FULL headers, and compare them. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sending mail via php and unix box-clients thinks it's spam
Here is what I use as the header: $header=From:[EMAIL PROTECTED]: text/html; Thanks! On 5/31/06, Richard Lynch [EMAIL PROTECTED] wrote: On Tue, May 30, 2006 12:45 pm, blackwater dev wrote: I have a site running on a linux box. If I use my mail server via an email client, the email works fine but if I send email through the mail function, clients mark it as spam. I see the line in php.ini for SMTP but that says windows only. How do I tell php to use my mail server? While it is possible that the IP has been logged as a spammer, it's more likely that the email headers are tripping you up... Compare the two sets of email headers and see what you get, and also look at the information provided by the spam filters about WHY they think it's spam. -- Like Music? http://l-i-e.com/artists.htm
[PHP] sending mail via php and unix box-clients thinks it's spam
I have a site running on a linux box. If I use my mail server via an email client, the email works fine but if I send email through the mail function, clients mark it as spam. I see the line in php.ini for SMTP but that says windows only. How do I tell php to use my mail server? Thanks!
Re: [PHP] sending mail via php and unix box-clients thinks it's spam
blackwater dev wrote: I have a site running on a linux box. If I use my mail server via an email client, the email works fine but if I send email through the mail function, clients mark it as spam. I see the line in php.ini for SMTP but that says windows only. How do I tell php to use my mail server? Are you sure the email is coming through exactly the same? Things like missing a boundary in a multipart email can break it and be marked as spam. Anyway - use something like http://phpmailer.sf.net and point it to your smtp server. If you want to write your own version of it, you'll need to do all sorts of stuff using fsockopen and worrying about response codes and so forth. -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sending mail via php and unix box-clients thinks it's spam
On Tue, May 30, 2006 12:45 pm, blackwater dev wrote: I have a site running on a linux box. If I use my mail server via an email client, the email works fine but if I send email through the mail function, clients mark it as spam. I see the line in php.ini for SMTP but that says windows only. How do I tell php to use my mail server? While it is possible that the IP has been logged as a spammer, it's more likely that the email headers are tripping you up... Compare the two sets of email headers and see what you get, and also look at the information provided by the spam filters about WHY they think it's spam. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php