php-general | 2001062
Date: 06/19/01
- Next message: Richard Stockley: "Re: [PHP] Pie Charts & Bar Charts & Line Charts..."
- Previous message: Pascal Polleunus: "[PHP] "simulate" form submission"
- Maybe in reply to: Tim Thorburn: "[PHP] email forms"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> $fromaddress = "events <email protected>";
> mail($toaddress, $subject, $mailcontent, $fromaddress);
Should probably be:
$fromaddress = "From: events <email protected>";
mail($toaddress, $subject, $mailcontent, $fromaddress);
Splitting hairs a bit, a more accurate name for $fromadress would be
$headers - in the future, you may want to add bounce headers or whatever, as
well as a "from" address.
HTH
Jon
**********************************************************************
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or confidentiality'
**********************************************************************
- Next message: Richard Stockley: "Re: [PHP] Pie Charts & Bar Charts & Line Charts..."
- Previous message: Pascal Polleunus: "[PHP] "simulate" form submission"
- Maybe in reply to: Tim Thorburn: "[PHP] email forms"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

