XMailer Property


When the message is returned by MailBee.POP3 object, contains value of "X-Mailer" header (or empty string if this header is missing).

When composing the message, you may set this property's value to the title of your program of mail delivery system. Default value is "MailBee".


Value Type: String
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"
Mailer.Message.XMailer = "Bob's mail program version 1.0"
Mailer.Message.ToAddr = "bill@yoursite.com"
Mailer.Message.FromAddr = "joe@mysite.com"
Mailer.Message.Subject = "Hello"
Mailer.Message.ImportBodyText "C:\docs\letter.htm", True
If Mailer.Connect Then
  Mailer.Send
  Mailer.Disconnect
End If

See Also:

Message Object


Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.