Posted by Mick Seymour on 8/25/2008, 9:34 am, in reply to "Re: R5 Mail"
64.110.90.70
--Previous Message--
:
:
: Could we have both a 'From' being the
: senders real name and a 'Subject'?
:
: We could for sure...
:
: Excellent.
:
:
: As you seem to know a lot more about mail in
: PHP, would I simply define
:
:
: From
:
: .
:
If I'm understanding the question, after:
$email = ...
$subject = ...
put:
$from = $_POST['from'];
then:
$replyto = 'Reply-To: '.$from.' <'.$email.'>';
Then use $replyto as the 4th parameter to the mail() function.
You can still use $from when formatting the message as well.
Message Thread:
![]()
« Back to thread