RE: [PHP] Re: mail headers
| From: | Rick Emery | Date: | Wed, 13 Feb 2002 20:40:54 +0000 |
| Subject: | RE: [PHP] Re: mail headers | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84643@lists.php.net to get a copy of this message | ||
Renato,
To send mail, use PHP's mail() function:
mail($recipient,$subject,$message,$headers);
You can reference $HTTP_REFERER directly without saying getenv(HTTP_REFERER)
-----Original Message-----
From: Renato Salvatore Moya L. [mailto:rmoya@reuna.cl]
Sent: Wednesday, February 13, 2002 2:34 PM
To: php-general@lists.php.net; Stalmannen
Subject: [PHP] Re: mail headers
Importance: High
Hi, i'm writte from Chile. If you writte to little php-script for send mail,
what send you mail ?.
I question you, because i'm writte a tipical php-script " tell a friend",
but i have problems with "getenv(HTPP_REFERER)", because send only my https
fixed.
Renato.
Stalmannen ha escrito:
> Hej!
>
> I have a question. I send mail from a php-script with the mail()-function.
However the smtp server I use has a wrong time set. Can I set the sent-time
through the headers so I take my web-servers time? and how then?
> Thankfull for help.
>
> /Kalle