SetReplyTo

Specify the email address that is to receive any replies to the current message.

SetReplyTo (ReplyTo)

Parameters

Parameter Type Direction Description
ReplyTo string In Email address to receive any replies; maximum of 1024 bytes

Return Values

Values returned in $status
Value Description
0 Operation succeeded.
-18 Memory allocation error.
<0 An error occurred

Description

You can use the SetReplyTo operation to specify an email address to receive replies. For example, if you have sent an information message that is not intended to get replies, you can set the ReplyTo email address to a another account that generates an automatic message.

mailApiHandle->ReplyTo("noreply@mygreatcorp.com")