RE: [PHP] Mail Function Problem
| From: | Alice Wei | Date: | Mon, 12 Apr 2010 11:18:56 +0000 |
| Subject: | RE: [PHP] Mail Function Problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304001@lists.php.net to get a copy of this message | ||
> From: peter.e.lind@gmail.com
> Date: Mon, 12 Apr 2010 13:09:48 +0200
> Subject: Re: [PHP] Mail Function Problem
> To: kdk@daleco.biz
> CC: ajwei@alumni.iu.edu; php-general@lists.php.net
>
> On 12 April 2010 05:22, Kevin Kinsey <kdk@daleco.biz> wrote:
> >
> > Thanks to the worldwide brotherhood of crooks known as spammers,
> > sending e-mail these days isn't nearly as easy as PHP makes it look.
> > You might wanna look into an "errors-to" header to help debug any
> > problems with sender authorization, bad ports, etc.
> >
>
> Along these lines: there's a chance that sending a mail from yourself,
> to yourself, through PHP like this, will cause mail servers to think
> it's spam. For testing email sending, normal scenarios are better
> (i.e. send an email to another account).
>
> Regards
> Peter
>
> --
> <hype>
> WWW: http://plphp.dk /
> http://plind.dk
> LinkedIn: http://www.linkedin.com/in/plind
> Flickr: http://www.flickr.com/photos/fake51
> BeWelcome: Fake51
> Couchsurfing: Fake51
> </hype>
I have changed my $to to $email, so it is not the same email address as the $from. I also added
Kevin's lines with the parameters that April suggested, and it looks like I still get Sending
Mail failed. Which function should I use to find out why my sending mail failed?
Thanks for your help.
Alice
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5