AddCc
PowerScript function
Description
Adds the specified Cc email address and display name.
Applies to
MimeMessage object in Objects and Controls
Syntax
|
1 |
mimemessage.AddCc(string cc{, string displayname}) |
|
Argument |
Description |
|---|---|
|
mimemessage |
A MimeMessage object identifying the email message in |
|
cc |
A string that contains the Cc email address. |
|
displayname (optional) |
A string that contains the Cc email display name. |
Return value
Integer.
Returns the index number if it succeeds and -1 if email name format
is incorrect. If any argument’s value is null, the method returns
null.
Examples
The following example adds two Cc email addresses, one of which has
the email display name.
|
1 2 |
lnv_SmtpClient.Message.AddCc("CcTester1@gmail.com" ) lnv_SmtpClient.Message.AddCc("CcTester2@gmail.com", "CcTester2Name " ) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest