Re: mail doesn't send
| From: | David Robley | Date: | Tue, 12 Sep 2000 05:15:27 +0000 |
| Subject: | Re: mail doesn't send | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16277@lists.php.net to get a copy of this message | ||
On Tue, 12 Sep 2000, Colleen R Dick wrote:
> This question is going to sound stupid. mail is pretty straight forrward, you get a recipient,
> a subject, a message and a from if you want and pass it to this routine called mail which returns
> non zero if the mail request was well formed. At least that what the book says.
>
> well it is returning non zero but I have tried all my email addresses and none of them have
> gotten the test message.
>
> What could make it fail to send. I promise they are typed correctly, unless you are supposed
> to put some hidden characters in that I don't know about.
>
> I'm sorry if this is a dupe I did try to post this question earlier, maybe my mail pipe
> has a clog????
>
Hmm - sorry about the non-word wrap but her mailer doesn't do it and mine
doesn't wrap quoted in replies ;-(
If you are running under Windoze, check that you have set the mail config
directives in your ini file correctly; you need to define the SMTP server
you are using and the From address.
If under *nix, check your system logs to see if there are any clues; also
check that you have an entry in your ini file to point to the path to your
sendmail (or replacement) and trhat you have the -t flag for sendmail.
Don't forget to restart apache if you make changes to the ini file.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA