zang8027 Posted April 9, 2009 Share Posted April 9, 2009 i know its not the best to do but i need to add some spaz to an email so how do you format emails? Quote Link to comment https://forums.phpfreaks.com/topic/153261-how-do-you-send-html-formatted-emails/ Share on other sites More sharing options...
Maq Posted April 9, 2009 Share Posted April 9, 2009 Use the mail function, make it HTML format, and put HTML in it. There are other posts on these forums that exemplify your question. Quote Link to comment https://forums.phpfreaks.com/topic/153261-how-do-you-send-html-formatted-emails/#findComment-805119 Share on other sites More sharing options...
zang8027 Posted April 9, 2009 Author Share Posted April 9, 2009 but i tried adding images and css but it didnt work :-/ know where any of these topics are? Quote Link to comment https://forums.phpfreaks.com/topic/153261-how-do-you-send-html-formatted-emails/#findComment-805125 Share on other sites More sharing options...
Maq Posted April 9, 2009 Share Posted April 9, 2009 Yeah, the link I provided has many many examples. A more specific link: mail(). Quote Link to comment https://forums.phpfreaks.com/topic/153261-how-do-you-send-html-formatted-emails/#findComment-805127 Share on other sites More sharing options...
starvator Posted April 9, 2009 Share Posted April 9, 2009 It may not be working for you because some mail clients do not support html, maybe you are using one which will not allow you to format in html, instead, if you want to add images, you can click the insert image button or you can assemble the email into a word/powerpoint or whatever editor you like and save it as a jpeg image You can then use the methode i just mentioned to put the picture in the email! Quote Link to comment https://forums.phpfreaks.com/topic/153261-how-do-you-send-html-formatted-emails/#findComment-805867 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.