PDA

View Full Version : Send e-mail as HTML


damicatz
11-02-2001, 10:00 PM
This is my first hack :d

Basically this allows you to send users HTML messages ala UBB through the control panel. You have the option of either sending users a plain text e-mail message or a HTML Message.

You can see a demo at : http://catclub.2y.net/demohtml.gif

Instructions are attached

Neo
11-03-2001, 04:07 PM
hmm.. nice what about a XML message ;)

damicatz
11-03-2001, 04:07 PM
XML?

I'm not sure if that's possible to do that through e-mail.

Neo
11-03-2001, 04:10 PM
i have seem something use XML in email, the prob is that alot of email systems dont allow XML or understand it..

damicatz
11-03-2001, 04:11 PM
Hmm,

I'll look into that, but do programs like Microsoft Outlook, Nutscrape Mail, and Eudora support XML mail?

ethank
11-03-2001, 04:14 PM
Cool....but this is just the beginning! I'd love to see a hack where all the system e-mails (from activation to lost password) have HTML templates, and at registration a user can choose whether or not to get plain text or HTML.

As it stands, I'm going to adapt this hack so I can at least send my community bulletin and news updates via HTML.

Ethan

damicatz
11-03-2001, 04:16 PM
The problem with templates from the way I saw it is,

Number 1 it depends what template whoever is sending it has it set for, so you'd have to go through every template and do the required modifications. And that would also mean that the look of the e-mail would vary depending on what template you had it set for viewing.

But in a later version of this hack I will probably add some kind of templates support and support for users to choose whether or not to recieve HTML mail. I might also add perhaps Code Buttons to quickly insert HTML.

JJR512
11-15-2001, 08:51 PM
Does this allow the individual member to select which format he/she received the emails?

Dark Blaze
11-30-2001, 07:08 PM
neato :)

Nice job with this hack ;)

damicatz
11-30-2001, 10:14 PM
Does this allow the individual member to select which format he/she received the emails?


Not yet but it may in a later version.

interfx
12-02-2001, 05:12 PM
Added this hack per instructions, still getting html tags in my email... Any other things to try?

Todd

damicatz
12-02-2001, 07:29 PM
1.What version of vBulletin are you using?

2.Did you double check that you did everything right?

3.When you sent an e-mail did you set it to HTML?

interfx
12-02-2001, 09:53 PM
Yes.

1. 2.2.1

2. Yes double checked... Replaced exactly as instructed in email.asp

3. Yes set it to HMTL

Is it related to an email setting? Is there a way in VB to set what is the email server, etc.??? When I set up VB I didn't recall settign anything, but it still works...

Any other things to look at?

Todd

izz
02-09-2003, 06:20 AM
I also installed the hack exactly like instructed. But I receive HTML code not HTML email.

izz
02-09-2003, 06:55 AM
Ahaa
I discovered the mistake

You named the radio button (html) and used it in php as (htmlmail) in this line:
if ($htmlmail == 0)
Just make it if ($html == 0)
and it will work