|
The MailMessage is an ActiveX control from the Clever Internet ActiveX Suite library. It allows you to create and parse messages in alternative MIME format with file Attachments and Embedded pictures. This component represents a complete mail message as described in the Internet Standards documents: RFC 822, RFC 1036 and RFC 2045.
- Load and Save MIME messages
- Text and HTML message bodies, Attachments and Embedded pictures
- Base64, Quoted-Printable, 7bit, 8bit and UUEncoded messages and attachments
- Simple access to most common headers such as Subject, Priority and Date
- Automatic CharSet detection, support for international character sets
- Can be used with any third party SMTP, POP3 or IMAP components
- Free one year upgrades and support
The MailMessage component allows easy creation of the mail messages in any formats using either a Text or HTML message source or both and also support file Attachments and Images linked to the HTML part of the message.
clMailMessage1.BuildMessageWithHtml "Message Text", "<html><body>Message Text</body></html>" clMailMessage1.BuildMessageWithAttachments "Message Text", "attachment1.zip;attachment2.zip" clMailMessage1.BuildMessage "Message Text", "<html>...</html>", "picture.gif", "attachment.zip" |
Set txtFile = o.OpenTextFile("c:\message.eml") clMailMessage1.MessageSource = txtFile.ReadAll ... Private Sub clMailMessage1_OnGetFileNameForBody( _ ByVal Body As clInetSuiteX6.IclMessageBody, FileName As String, Handled As Boolean) FileName = "c:\files\attachment.zip" Handled = True End Sub |
The MailMessage parser automatically parses most popular mail message formats: MIME, Text, UUEncoded or AppleTalk. If the mail message is damaged or has partially invalid content, the MailMessage parser will load this message and correct the most known errors.
Please see the Demos code (MailProgress, MailSendReceive, MSExchange, ImapClient, NewsGroups) and also the indexed Help documentation provided with the Clever Internet ActiveX Suite installation to learn more about using this component in your application.
|