MessageTo Property
A comma separated list of recipients for a message.
Syntax
ANSI (Cross Platform) char* GetMessageTo();
int SetMessageTo(const char* lpszMessageTo); Unicode (Windows) LPWSTR GetMessageTo();
INT SetMessageTo(LPCWSTR lpszMessageTo);
@property (nonatomic,readwrite,assign,getter=messageTo,setter=setMessageTo:) NSString* messageTo; - (NSString*)messageTo; - (void)setMessageTo:(NSString*)newMessageTo;
#define PID_GMAIL_MESSAGETO 43 CLOUDMAIL_EXTERNAL void* CLOUDMAIL_CALL CloudMail_GMail_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CLOUDMAIL_EXTERNAL int CLOUDMAIL_CALL CloudMail_GMail_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property contains a comma separated list of destinations for a mail message. These recipients are added to a message created with CreateDraft or messages sent with SendMail.
Example (Add a Recipient)
gmail.MessageTo =
"bbobbertson@bobmail.com"
;
gmail.SendMail();
Example (Add a Recipient with a Name and Address)
gmail.MessageTo =
"Brandrew Bobbertson < bbobbertson@bobmail.com >"
;
gmail.SendMail();
This property is not available at design time.
Data Type
String