html code in E-mail body ?

G

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
 
P

PB4FUN

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
 
G

GAT

My server supports cdonts or jmailer






PB4FUN said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top