Jump to content

Need help: Sending HTML encoded mail from a webform


SpinningCone

Recommended Posts

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.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.