Reply to address

the mail() function

Moderators: egami, macek, gesf

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

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>";
--
Erik

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

Mon Sep 27, 2004 6:18 am

Please do not cross-post.

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

Locked.
Image

Locked