Can someone please point me to a tutorial on how to email an autoresponder from a web form while the form mailer is being sent to form receiver?
Thank you.
| SitePoint Sponsor |




Can someone please point me to a tutorial on how to email an autoresponder from a web form while the form mailer is being sent to form receiver?
Thank you.
Just add another email sending PHP script (with the different autoresponder message) just below/after successfully an email is sent to receiver.




The auto responder needs to include an image within the email. Sorry, but I've only sent form mailers to an email address and never created auto responders.
To send HTML emails, you need to change some header information. Better use some third party libraries to send the emails so that you don't have to bother yourself about setting headers.
Download proper version of PHP mailer for your server http://phpmailer.worxware.com/ and you can use it as i said before two times with two different messages. You can see some examples http://phpmailer.worxware.com/index.php?pg=examples how to send emails with phpmailer.
Bookmarks