468,248 Members | 1,534 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,248 developers. It's quick & easy.

html code in E-mail body ?

GAT

I have a e-mail function in serverside VB, how would i put html code in the
body variable so when email is recieved it looks like html page in the body.

right now it just shows up as text in the body of message,

<html><head></head><body><table><tr><td>one</td><td>two</td><td>three</td>
<td>four</td></tr></table></body></html>

There must be a way because i get emails with html ?
thanks
Jul 19 '05 #1
3 6771
Depending on what way you use to send mail you have to set the property of
it.
something like :

YourMailerobject.Mailformat = ymoHTML
or
YourMailerobject.Mailformat = 5 or whatever

This could be different in all mailerobjects.
Check the documentation of your mailerobject and/or mention what object you
use to send mail

Meindert, MCP

"GAT" <ga*****@shaw.ca> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...

I have a e-mail function in serverside VB, how would i put html code in the body variable so when email is recieved it looks like html page in the body.
right now it just shows up as text in the body of message,

<html><head></head><body><table><tr><td>one</td><td>two</td><td>three</td>
<td>four</td></tr></table></body></html>

There must be a way because i get emails with html ?
thanks

Jul 19 '05 #2
GAT

My server supports cdonts or jmailer


"PB4FUN" <th*********@doesnot.exist> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Depending on what way you use to send mail you have to set the property of
it.
something like :

YourMailerobject.Mailformat = ymoHTML
or
YourMailerobject.Mailformat = 5 or whatever

This could be different in all mailerobjects.
Check the documentation of your mailerobject and/or mention what object you use to send mail

Meindert, MCP

"GAT" <ga*****@shaw.ca> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...

I have a e-mail function in serverside VB, how would i put html code in

the
body variable so when email is recieved it looks like html page in the

body.

right now it just shows up as text in the body of message,

<html><head></head><body><table><tr><td>one</td><td>two</td><td>three</td> <td>four</td></tr></table></body></html>

There must be a way because i get emails with html ?
thanks


Jul 19 '05 #3
GAT


Thanks , i found proper documentation for mail object

"PB4FUN" <th*********@doesnot.exist> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Depending on what way you use to send mail you have to set the property of
it.
something like :

YourMailerobject.Mailformat = ymoHTML
or
YourMailerobject.Mailformat = 5 or whatever

This could be different in all mailerobjects.
Check the documentation of your mailerobject and/or mention what object you use to send mail

Meindert, MCP

"GAT" <ga*****@shaw.ca> wrote in message
news:Op**************@TK2MSFTNGP10.phx.gbl...

I have a e-mail function in serverside VB, how would i put html code in

the
body variable so when email is recieved it looks like html page in the

body.

right now it just shows up as text in the body of message,

<html><head></head><body><table><tr><td>one</td><td>two</td><td>three</td> <td>four</td></tr></table></body></html>

There must be a way because i get emails with html ?
thanks


Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Dave Smithz | last post: by
10 posts views Thread by Andrew Poulos | last post: by
5 posts views Thread by serge calderara | last post: by
18 posts views Thread by pkassianidis | last post: by
1 post views Thread by Peter Williams | last post: by
7 posts views Thread by Xah Lee | last post: by
26 posts views Thread by webrod | last post: by
42 posts views Thread by Santander | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.