PDA

View Full Version : Sending emails in HTML


JoshFink
22 Aug 2001, 23:37
I've seen this subject on here a couple of times, but I haven't found anyone answering it.

Does anyone know what I need to add to an email message to send it in HTML?

Thanks,

Josh

BradC
23 Aug 2001, 01:12
interesting... it might take making a semi-small template that can be coded in along with the email function...

ethank
27 Sep 2001, 18:35
Before I hack HTML e-mail into my boards for our community update and news update scripts, is this feature (for all vBulletin mailings) in Version 2.0.4? Anybody from Jelsoft?

Ethan

Goldfinger
27 Sep 2001, 23:10
you can just edit the email templates with html that are already included in 2.0.3.

ethank
27 Sep 2001, 23:13
Originally posted by Goldfinger
you can just edit the email templates with html that are already included in 2.0.3.

I mean allowing users to choose HTML or standard, but that should be easy to hack in.

Didn't want to do too much work if its in 2.0.4 (not 3)

Ethan

ethank
27 Sep 2001, 23:27
Actually, it is quite a bit more than just changing a template. You have to hack the code to send a Content type header for HTML:

$headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type

So it'll take some hacking. Which of course I'll do :)

Ethan