PDA

View Full Version : PHP Mailform with HTML design



vincentFX
July 7th, 2005, 11:33 AM
Hi there, I have a big problem with that, I have a simple flash form with three vars, name, profile and comment, the php it's so simple too, and they're working correctly in Text/plain mode, but what I want to do is to put the mail that PHP sends me with the data, formated inside an HTML with a designed tab, with images and so on . . It's possible to put the PHP vars inside and HTML design, in order to get a "beautiful" form answer instead of the ugly plain text mail??

I have read the Kirupa tutorials, I have tried to find and answer for myself, and sincerely I don't think that could be done on easy way, at least I couldn't find anything that helps me with that, any help or suggestions please??

Thanks a lot!

nectom
July 7th, 2005, 11:53 AM
What exactly do you want to do?

vincentFX
July 7th, 2005, 11:58 AM
What I exactly want, is to put the vars that PHP sends in plain text on the mail, in a formated HMTL table, with images, so the client will receive on his mail a table with an image header with the logo of his company, the answers from the form, and an image footer.

That's all ^_^

hl
July 7th, 2005, 03:35 PM
What I exactly want, is to put the vars that PHP sends in plain text on the mail, in a formated HMTL table, with images, so the client will receive on his mail a table with an image header with the logo of his company, the answers from the form, and an image footer.

That's all ^_^
you can put html in the body was the mail()