Using mail() with PHP
Moderator: General Moderators
-
mhamilton3
- Forum Newbie
- Posts: 1
- Joined: Tue Dec 16, 2003 11:54 pm
Using mail() with PHP
I have what I hope is a very easy question. I am a perl person not a php person, but I have a script that I inherited that is having an issue. The code uses mail() to send a confirmation email. There is no check for return codes on the call to mail. Are there reasons why mail would fail. I have many places where I am assured the code ran, but an email is never received and I checked the server and it does not register an email being sent. Just looking for a suggestion on what to do. I don't have any PHP documentation so I am about to look for return codes for mail(), but if you have return codes that would be cool. Thanks.
-
microthick
- Forum Regular
- Posts: 543
- Joined: Wed Sep 24, 2003 2:15 pm
- Location: Vancouver, BC