SetIdentityFeedbackForwarding Method
Enables or Disables feedback forwarding for the identity.
Syntax
ANSI (Cross Platform) int SetIdentityFeedbackForwarding(const char* lpszIdentity, int bForwardingEnabled); Unicode (Windows) INT SetIdentityFeedbackForwarding(LPCWSTR lpszIdentity, BOOL bForwardingEnabled);
- (void)setIdentityFeedbackForwarding:(NSString*)identity :(BOOL)forwardingEnabled;
#define MID_AMAZONSES_SETIDENTITYFEEDBACKFORWARDING 15 CLOUDMAIL_EXTERNAL int CLOUDMAIL_CALL CloudMail_AmazonSES_Do(void *lpObj, int methid, int cparam, void *param[], int cbparam[], int64 *lpllVal);
Remarks
This method enables or disables feedback forwarding for the identity. The Identity parameter specifies the identity on which you are operating.
The ForwardingEnabled parameter specifies whether or not feedback forwarding is enabled. A value of True indicates feedback will be sent as email. A value of False indicates that feedback will only be published to the IdentityNotificationBounceTopic and IdentityNotificationComplaintTopic SNS topics.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)