IsQueueIIS Property
This property must be set to True if you're submitting e-mails to IIS SMTP queue (with SendToQueue or SendToQueueEx methods).
The default value is False which is suitable if you're using SubmitToQueue or SubmitToQueueEx methods to send to MailBee Message Queue or MailBee.NET Queue.
This property, when set to True, makes MailBee double every dot character when it appears at the first position on a line (as during SMTP conversation). IIS SMTP queue expects .EML files in the queue have these dots doubled while MailBee Message Queue (and MailBee.NET Queue) doubles the dots itself when it actually sends an e-mail to the SMTP server.
Note: this property has no effect if you're sending e-mails to SMTP server (rather than submitting them as .EML files to a pickup folder of MailBee Message Queue or IIS SMTP service).
Value Type: | Boolean | |
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.Message.ToAddr = "bill@yoursite.com" Mailer.Message.FromAddr = "joe@mysite.com" Mailer.Message.Subject = "Hello" Mailer.Message.ImportBodyText "C:\docs\letter.htm", True Mailer.IsQueueIIS = True if Not Mailer.SendToQueue("c:\Inetpub\mailroot\Pickup") Then MsgBox Mailer.ErrDesc
See Also:
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.