zubair12
Banned
- Messages
- 631
- Reaction score
- 0
- Points
- 0
I am using a contact for which use mail() function to send mail of user comments to my email address..
I try to add one more mail function in it to send mail to user who is sending comments to me but i am fail....
where name@example.com is my email. and $email is user email...
I want to send some message to user also when he send me comments..
I try to add one more mail function in it to send mail to user who is sending comments to me but i am fail....
Code:
$to = "name@example.com";
$subject = 'Hi';
$msg = "From : $name \r\ne-Mail : $email \r\n" . "Message : $message";
mail($to, $subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n");
where name@example.com is my email. and $email is user email...
I want to send some message to user also when he send me comments..