PureFromAddr Property
Returns email address of the sender.
For example, if FromAddr is like: "Mr. X, Y Company"<mr.x@y.com>
(y.com)
then PureCCAddr will return: mr.x@y.com
To deal with e-mail addresses with international domain names (IDN), use UnescapeIdnDomain method to decode an e-mail address into human-readable form.
Value Type: | String | |
Parameters: | None | |
Remarks: | This property is read-only |
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 "Pure From Addr = " & Msg.PureFromAddr End If Mailer.Disconnect End If
See Also:
FromAddr Property
FromFriendlyName Property
PureToAddr Property
PureCCAddr Property
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.