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_OFFICE365_MESSAGETO 95

CLOUDMAIL_EXTERNAL void* CLOUDMAIL_CALL CloudMail_Office365_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CLOUDMAIL_EXTERNAL int CLOUDMAIL_CALL CloudMail_Office365_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)


office365.MessageCc = "bbobbertson@bobmail.com";
office365.SendMail(True);

Example (Add a Recipient with a Name and Address)


office365.MessageCc = "\"Brandrew Bobbertson\" bbobbertson@bobmail.com";
office365.SendMail(True);

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 C++ Edition - Version 20.0 [Build 8308]