Hi,
I want to send a confirmation email to the user once s/he is finished with an online ordering.
I am not quite sure what method to use and would appreciate it if someone could point me in the right direction, possibly with an example.
What I would be emailing is going to be a list of items ordered and sender's info (no payment info.) I want to be able to send the email in html and text formats (in case the user's email client only accepts plain text emails)
I looked at Pear's Mail package but did not know which one to use (IMAP, MIME, ...) or how to set it up in my program, or if it is the right way of doing it. I am assuming my hosting company supports Pear.
Any help is greatly appreciated.