CCFriendlyName Property
Returns comma-separated friendly names of CC
recipients. If particular friendly name is not available, corresponding email
address is returned instead.
For example, if CCAddr is as following: "Mr. X, Y Company"<mr.x@y.com>
(y.com), nofriendlyname@localhost, someone@host.net (Only comment)
then CCFriendlyName will return: Mr. X, Y Company, nofriendlyname@localhost,
Only comment
Set AddressDelimiter if you want to use another string (not a comma character) to delimit individual addresses.
This only makes sense for reading an existing message, not for composing a new one (when sending a message, recipients must be separated with comma).
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 "CCFriendlyName(s) = " & Msg.CCFriendlyName End If Mailer.Disconnect End If
See Also:
CCAddr Property
PureCCAddr Property
ToFriendlyName Property
FromFriendlyName Property
Copyright © 2002-2024, AfterLogic Corporation. All rights reserved.