Reply to address

the mail() function

Moderators: macek, egami, gesf

jinx
New php-forum User
New php-forum User
Posts: 12
Joined: Wed Jan 22, 2003 2:47 am
Location: Norway
Contact:

Reply to address

Postby jinx » Fri Sep 24, 2004 10:27 am

Hi, this is a part of my code for an e-mail script.. I want to add a reply-to-address for the recipient.. How do I do that?

<?php

$to = $_POST['to'];
$email = $_POST['email'];
$name = $_POST['name'];
$subject = $_POST['subject'];
$message = $_POST['message'];

$headers = "From: $name <$from>";

User avatar
swirlee
Moderator
Moderator
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Postby swirlee » Mon Sep 27, 2004 6:18 am

Please do not cross-post.

http://www.php-forum.com/p/viewtopic.php?t=5060

Locked.


Return to “PHP coding => Mail”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron