ReturnPath Property
Value of "Return-Path" header (the
path back to the message's originator).
If composing the message, you commonly leave this address blank (SMTP servers
generate it themselves).
If the message was received using MailBee.POP3 object, the property is
value of "Return-Path" header or empty string if this header is missing.
Value Type: | String | |
Parameters: | None |
Usage example:
Dim Mailer, Msg 'Using visual basic to create object Set Mailer = CreateObject("MailBee.POP3") 'Using ASP to create object 'Set Mailer = Server.CreateObject("MailBee.POP3") 'In ASP use Response.Write instead of MsgBox Mailer.LicenseKey = "put your license key here" Mailer.Connect "mailserver.com", 110, "MyName", "MyPassword" If Mailer.Connected Then If Mailer.MessageCount > 0 Then Set Msg = Mailer.RetrieveSingleMessage(1) If Not Msg Is Nothing Then MsgBox "Return-Path: " & Msg.ReturnPath End If Mailer.Disconnect End If
See Also:
FromAddr Property
ReplyToAddr Property
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.