Re: Help : send emails
| From: | Alain ROMERO | Date: | Sun, 19 Nov 2000 10:05:40 +0000 |
| Subject: | Re: Help : send emails | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26117@lists.php.net to get a copy of this message | ||
thesmtpserver.mydomain is the server running SMTP.
With telnet on port 25 I send msg !
Ignacio Vazquez-Abrams a écrit :
> On Fri, 17 Nov 2000, Alain ROMERO wrote:
>
> > My NT server is not running SMTP service.
> > I configure php3.ini like this :
> >
> > [mail function]
> > SMTP = thesmtpserver.mydomain ;for win32 only
> > sendmail_from = myemail@mydomain ;for win32 only
> > sendmail_path = ;for unix
> > only
> >
> > I get this message :
> > Warning: Server Error in d:/wwwroot/.... on line 22
> >
> > when i write :
> > //send mail
> > mail($mailTo, $mailSubject, $mailBody, $mailHeaders);
> >
>
> That's because the SMTP entry has to point to a real server that is
> running SMTP. If it's not, you can't send mail that way.
>
> --
> Ignacio Vazquez-Abrams <ignacio@openservices.net>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net