AltBodyEncoding Property
Specifies method to be used to encode alternative 
body of the message.
You need to set value of this property only during message composing (i.e. for 
using with MailBee.SMTP object). If the message is created by MailBee.POP3 
object, its alternative body (if present) will be automatically decoded, so you 
do not need to care about AltBodyEncoding.
The following encoding settings are allowed: 
| Value Type: | Long | |
|  | ||
| Parameters: | None | |
Usage example:
Dim Mailer 'Using visual basic to create object Set Mailer = CreateObject("MailBee.SMTP") 'Using ASP to create object 'Set Mailer = Server.CreateObject("MailBee.SMTP") 'In ASP use Response.Write instead of MsgBox Mailer.LicenseKey = "put your license key here" Mailer.ServerName = "mail.server.com" If Mailer.Connect Then Mailer.Message.ToAddr = "bill@yoursite.com" Mailer.Message.FromAddr = "joe@mysite.com" Mailer.Message.Subject = "Hello" Mailer.Message.ImportBodyText "C:\docs\letter.htm", True Mailer.Message.MakeAltBody Mailer.Message.AltBodyEncoding = 3 ' Base64 Mailer.Send Mailer.Disconnect End If
See Also:
ImportAltBodyText 
  Method
  MakeAltBody Method
Enable8bitEncoding Property
  BodyEncoding Property 
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.