Re: mail() function
| From: | r | Date: | Thu, 30 May 2002 04:08:58 +0000 |
| Subject: | Re: mail() function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99756@lists.php.net to get a copy of this message | ||
That may and may not work, I would suggest you add the RTFM() function, then
it WILL work.
Cheers,
-Ryan
----- Original Message -----
From: "Phil Schwarzmann" <pschwar@jhmi.edu>
To: <php-general@lists.php.net>
Sent: Wednesday, May 29, 2002 7:57 AM
Subject: [PHP] mail() function
> I want to write a simple script that sends an e-mail message using PHP.
>
> I'm assuming that my web-host has the mail function hooked up to the
> e-mail server (should I be assuming this or should I assume that it's
> NOT hooked up?).
>
> What is the syntax for this command?
>
> something like this... ? (assuming that the variables contain the
> proper data)
>
> mail($contactemail, $subject, $message, $headers);
>
> THANKS!!
>