bsGetReplyToAddress()

Returns the email address of the REPLY-TO: email header within the sMessageText parameter.

void bsGetReplyToAddress (char *sMessageText, char **sReturnValue)



Parameters

sMessageText

A character array containing the RAW email message. Pass the RAW email message text in via this parameter. For formatting requirements of a RAW email message, click here.

sReturnValue [out]

Pointer to a character array. Returns a pointer to the email address of the REPLY-TO: header.


Syntax - (ANSI C)

// ** Define some variables.
char *sRawMessage, *sReturnValue;

// ** Pseudo Code. sRawMessage is the RAW message you're parsing.
// ** Usually created from the RAW POP message and/or read from file.
sRawMessage = "{RAW Email Message}";

// ** Call Subroutine
bsGetReplyToAddress(sRawMessage, &sReturnValue);


Remarks

For more examples, and language specific declarations, see sample source code files that came with BounceStudio API.