Hi all..
I am not sure if this problem can be solved.. or.. if it s aproblem at all..
I have created a 'Tell a Friend Form' (action="tellafriend.php")
Tellafriend.php does 2 main tasks:
- Process the form and send a notification email to me (webmaster)
- Process the form and send the actual 'Recommendation Message to the moniated recipient/s (friends of the person completing the form).
Tellafriend then redirects the user to thank_you.htm.
This is all working fine.. but there's more..
The email messages, the one I recive and the one the 'friend' receives' are in text format and they look crappy when you open your email to read them. Note that the actual text wording is included in the tellafriend.php file itself.
Wouldn't it be nice to be able to have an image and background templates so that the email can import those 'name and email values' and dump them on the image and background and send the email as html email to all recipients.. Like you see in newsletters..
Is there a way where my form data can be taken into a html email that can be sent using the .php file..??
Example:
Dear John,
Your friend Tom, whos email address is: tom@hisdomain.com, would like to recommend our website for you to visit.
(and for this to be on a neat image background..
Can anyone help..?? I would very much appreciate it..
Thanks heaps.