MessageRecipientOptions Property

This property contains the recipient sending options (used only by SMTP).

Syntax

ANSI (Cross Platform)
char* GetMessageRecipientOptions(int iRecipientIndex);
int SetMessageRecipientOptions(int iRecipientIndex, const char* lpszMessageRecipientOptions); Unicode (Windows) LPWSTR GetMessageRecipientOptions(INT iRecipientIndex);
INT SetMessageRecipientOptions(INT iRecipientIndex, LPCWSTR lpszMessageRecipientOptions);
- (NSString*)messageRecipientOptions:(int)recipientIndex;
- (void)setMessageRecipientOptions:(int)recipientIndex:(NSString*)newMessageRecipientOptions;
#define PID_SMTP_MESSAGERECIPIENTOPTIONS 31

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_SMTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_SMTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_SMTP_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains the recipient sending options (used only by SMTP). This must be a string of RFC-compliant recipient options (used by SMTP).

One type of option is a delivery status notification sent per recipient which is specified by RFC 1891.


component.MessageRecipientOptions(0) = "NOTIFY SUCCESS,FAILURE,DELAY";

The RecipientIndex parameter specifies the index of the item in the array. The size of the array is controlled by the MessageRecipientCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 C++ Edition - Version 20.0 [Build 8203]