what is the way to send html email through winsock ?
Printable View
what is the way to send html email through winsock ?
what is HTML email???
do you just mean send email, or do you mean submit a post to a web server that will send email?
to send to someone at yahoo.com
winsock.remotehost = "mx1.mail.yahoo.com"
winsock.remoteport = 25
winsock.connect
send these commands in this order after receiving smtp spoken here (vbcrlf after each)
-----------------------
helo yahoo.com
mail from:[email protected]
rcpt to:[email protected]
----------------
then type data send vbcrlf
subject: what
(two line feeds)
type away
(end with . <crlf> .)
quit
i meant sending smtp email, in html format.......
What a mess: nobody uses the same email client you can imagine what is the mail looking when it's received.....!
SOooo, i guess i've taken the good decision: i'll continue to send it with "text/plain" (by the way not so bad) to send email through my application....
Any comment(s) ?
thank you
Hi simonmay !!!
look at
http://www.freevbcode.com/listcode.a...e=2&Category=2
for vbsendmail
is an excellent free program with source code.
-cu TheOnly
Just create a program that send email and for the bit where u put the message just put the html text and it will turn it into a html page when the recipient gets it.
thanks to all!