SpinningCone Posted July 24, 2012 Share Posted July 24, 2012 Hey if some one could point me in the right direction for this i would be most appreciative. basically I am building a website that users sign up on and i need a way to send out email broadcasts to the users. currently we use a listserv but i wanted to provide the users notification options so they can turn off notifications they don't want. OK the option system is built and i can send out emails to the appropriate people via the mail() function but i want to be able to send html formatted mails easily. so i grabbed this JavaScript rich text box nicEdit which looks good and gives me formatting options just like a mail clent would or i can basically copy/paste in a message from my normal email. problem is the junk i get out of that textbox is not html (rtf formatting?) so when i send the mail i get a huge amount of junk or if i add html oto the content header the junk is hidden but the text isn't formatted. i don't know if there is a better option here or if i can easily convert the rtf output to html so i can cram it in the mail() function and get it sent out. Quote Link to comment https://forums.phpfreaks.com/topic/266149-need-help-sending-html-encoded-mail-from-a-webform/ 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.