![]() |
|
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
MIVA® RESOURCES: Sending HTML e-mail with MvSMTPMe personally, similarly as many others who use Internet intensively, I dislike HTML formatted e-mail and in most cases find it quite annoying. However, many people ask how to send HTML formatted messages by MvSMTP. Here you go: Simple HTML formated e-mailYou can send HTML formatted messages with MvSMTP in the following way. Please note the missing blank line just after the MvSMTP command. The following two lines are merged to the SMTP header and will not be visible in the message. After these two lines, there must be a blank line (without any space or tab on it!). The message in usual HTML format follows.
You could use HTML e-mail with attachmentsIf you use any images or other external elements, they have to be linked to resources available on the Web, but note that the recipient would be able to view them only as long as he is online. If you wish that the pictures are available also offline, you would need to send them as attachments in a multipart message. Please have a look at MimeConv 2.0 and its implementation mimeconv.mv for details on sending multipart messages and the RFC-2557 for the explanation of different ways of URI formatting in HTML e-mail. I'll try to add some examples or a working HTML e-mail function here later. Some Useful LinksRFC-2557: MIME E-mail Encapsulation of Aggregate DocumentsFile Attachments with MvSMTP MimeConv 2.0 |
||||||||||
|
Miva and some other terms used on this page are registerd trademarks of the Miva Corporation |