Have a look at http://www.php.net/mail - you need to do something like

$sendto = "[EMAIL PROTECTED]";
$subject = "Oh how I love PHP";
$message =  "I really really do.\n\nI mean I REALLY do.\n\nDo be do be
do.\n";
mail ($sendto, $subject, $message);


HTH
Jon

-----Original Message-----
From: Todd H MacPherson [mailto:[EMAIL PROTECTED]]
Sent: 17 January 2001 00:08
To: [EMAIL PROTECTED]
Subject: [PHP] Mail problems


Hello

I am doing a job for a client who has a host that just installed php4 on a
WinNT system. He can not get the mail program to work properly.

The server that php is on and the mail server are different computers. He,
the host, asked me to try and by-pass the the mail utility and send directly
to the mail server. He gave me the ip address. Is it possible? If so how?

Thanks

Todd


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to