Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make auto reply mail

Status
Not open for further replies.

samansk

Technical User
Dec 7, 2000
44
How to make automatic reply email to user who submit to the list or forum.
 
to send an email in php is very easy. use the following code, just make sure it triggers when the php code succesfully submits to your list or forum:

mail( $to, $subject, $message, "From: $from\nReply-To: $reply\nX-Mailer: PHP/" . phpversion() );

you may need to change your php.ini configuration settings, and then restart apache, if it doesn't contain the correct path for your send mail server.


Andres Jugnarain
Wireless Editor
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top