RE: [PHP-WIN] Sendmail...
| From: | Ross Fleming | Date: | Fri, 26 Oct 2001 19:47:38 +0000 |
| Subject: | RE: [PHP-WIN] Sendmail... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10055@lists.php.net to get a copy of this message | ||
OK people, it appears to work now without a sendmail replacement. I've no
idea what went wrong before but
[mail function]
SMTP= mail.totalise.co.uk ; for Win32 only
sendmail_from= r.fleming@totalise.co.uk ; for Win32 only
seems to work just fine and dandio now.
Thanks to everyone who helped.
Ross
> > > > > > >-----Original Message-----
> > > > > > >From: Ross Fleming [mailto:r.fleming@totalise.co.uk]
> > > > > > >Sent: 24 October 2001 23:29
> > > > > > >To: php-windows@lists.php.net
> > > > > > >Subject: [PHP-WIN] Sendmail...
> > > > > > >
> > > > > > >
> > > > > > >Hello, I'm probably just being a bit thick, but how
exactly do I get the
> > > > > > >mail function to work?..
> > > > > > >
> > > > > > >Do I need a sendmail replacement? (I downloaded blat
to see if that would
> > > > > > >help but can't see that it does.)
> > > > > > >
> > > > > > >------
> > > > > > >php.ini
> > > > > > >
> > > > > > >
> > > > > > >[mail function]
> > > > > > >; For Win32 only.
> > > > > > >SMTP= mail.totalise.co.uk ; for Win32 only
> > > > > > >
> > > > > > >; For Win32 only.
> > > > > > >sendmail_from= r.fleming@totalise.co.uk ; for Win32 only
> > > > > > >
> > > > > > >----------
> > > > > > >
> > > > > > >Do I need to have this in?..
> > > > > > >
> > > > > > >; For Unix only. You may supply arguments as well (default:
> > > > > > >'sendmail -t -i').
> > > > > > >;sendmail_path=
> > > > > > >
> > > > > > >I tried uncommenting the sendmail_path and pointed to
c:\windows\blat.exe
> > > > > > >
> > > > > > >Called it from within a php page
> > > > > > >mail("r.fleming@clara.co.uk", "My Subject",
> > > > > > >"Line
1\nLine 2\nLine 3");
> > > > > > >
> > > > > > >Got:
> > > > > > >Warning: Server Error in C:\Program Files\Apache
> > > > > > >Group\Apache\htdocs/email.php on line 11
> > > > > > >
> > > > > > >whether I uncommented the sendmail_path line or not.
> > > > > > >
> > > > > > >Any help appreciated. I'm running Windows 98.
> > > > > > >
> > > > > > >Thanks
> > > > > > >
> > > > > > >Ross
> > > > > > >
> > > > > > >
> > > > > > >--
> > > > > > >PHP Windows Mailing List (http://www.php.net/)
> > > > > > >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > > > >For additional commands, e-mail: php-windows-help@lists.php.net
> > > > > > >To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >--
> > > > > > >PHP Windows Mailing List (http://www.php.net/)
> > > > > > >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > > > >For additional commands, e-mail: php-windows-help@lists.php.net
> > > > > > >To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> > > > > >
> > > > > > --
> > > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > > > > To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> > > > >
> > > > > --
> > > > > PHP Windows Mailing List (http://www.php.net/)
> > > > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > > > To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> > > > >
> > > > >
> > > >
> > > > --
> > > > PHP Windows Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > > To contact the list administrators, e-mail:
php-list-admin@lists.php.net
> > >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>