|
-
February 21st, 2000, 08:52 PM
#1
E-mail in HTML format?
Hello, all.
Can anybody advice me on how can I send an e-mail in HTML format from a VB application. I can send normal text, and when I try to send a real html file by just reading it character by character into body of the message - I get all those delimiters and other HTML garbage on the received message.
So again, how to I send it in HTML or RTF format? Thanks
-
February 22nd, 2000, 01:14 AM
#2
Re: E-mail in HTML format?
This is because you probably didn't supply a mime header. If you don't do this, it will be handled as plain text. This is why your htmlcode appears instead of the document. Check out http://www.cis.ohio-state.edu/htbin/rfc/rfc1341.html. This should will give you a better view of the mime-declarations. I'm not sure, but I think your problem can be solved just by adding this line to your email header:
Content-type: text/html
If this doesn't work, check out the rfc at the url above.
Tom Cannaerts
[email protected]
The best way to escape a problem, is to solve it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|