Announcement

Collapse
No announcement yet.

Email - Reply to address?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Email - Reply to address?

    Hi,

    When using the following code to send an email, the return address is that of the server. How do I set it to show my email address?

    <?

    mail("$email", "$lostsubject", "$lostmessage"); //The $lostsubject and $lostmessage are defined in prepend.inc.

    ?>

    Thanks,

    Tim
    Five Star Review Script - Add reviews to your website!
    Mixed Martial Arts - Houston MMA Training
    Women's Self-Defense - Courses and DVDs available

  • #2
    Hi,

    I got it to work. Here is what I used:

    mail("$email", "$lostsubject", $lostmessage, "From: webmaster@worldslargestmall.cc\nReply-To: webmaster@worldslargestmall.cc\nX-Mailer: PHP/" . phpversion());

    Tim
    Five Star Review Script - Add reviews to your website!
    Mixed Martial Arts - Houston MMA Training
    Women's Self-Defense - Courses and DVDs available

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X