Re: Newbie question about sending email
| From: | Daniel Brown | Date: | Wed, 16 Apr 2008 21:20:42 +0000 |
| Subject: | Re: Newbie question about sending email | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273127@lists.php.net to get a copy of this message | ||
On Wed, Apr 16, 2008 at 5:14 PM, Pete Holsberg <pjh42@pobox.com> wrote:
>
> Why do I need both from_addr and field_4 (Email Address)? Could I just use
>
> $from = $_POST['field_4']?
Sorry, I noticed it after I started rewriting the form processor,
and then forgot to edit the email accordingly.
That's correct. Where I placed the $_POST['from_addr'] stuff,
just replace it with $_POST['field_4']. And then, of course, you can
ignore the HTML field-adding section of my previous email.
--
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.