Hi jason,

I've added the SMTP to a smtp server, saved the .ini and restarted the
server with no luck.

It complains

Warning: mail(): "sendmail_from" not set in php.ini or custom "From:"
header missing in c:\program files\apache
group\apache\htdocs\email.php on line 131

Line 131 is the end of the file (?>)

The mail command is

mail("Webmail <".$emailTo.">","[Contact]",$msg,"From: Webmail
<[EMAIL PROTECTED]> \nReply-To: ".$name." <".$emailFrom.">\n");

Any tips ?

On Tue, 13 Jul 2004 19:20:25 +0800, Jason Wong <[EMAIL PROTECTED]> wrote:
> 
> 
> On Tuesday 13 July 2004 18:46, robert mena wrote:
> 
> > I have a small script hosted in a win32/apache/php4 enviroment where I
> > do not have a local email server.
> >
> > I was wondering how could I send emails either connecting directly to
> > the mx or sending through a relay.
> 
> mail() on Windows system does (only) use SMTP. Just configure your php.ini
> correctly and it should work.
> 
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to