ml_qa_setreplytoaddress

Sets the reply-to address of the message.

Parameters
Item Description Remarks
1 Message ID VARCHAR(128). You can obtain the message ID from ml_qa_createmessage or ml_qa_getmessage.
2 Reply address VARCHAR(128)
Remarks

You cannot alter this header after the message has been sent.

See also
Example

In the following example, a reply-to-address is added to a message. The recipient of the message can then use that reply-to-address to create a reply.

begin
    declare @msgid varchar(128);
    set @msgid = ml_qa_createmessage();
    call ml_qa_setreplytoaddress( @msgid, 'myaddress' );
    call ml_qa_settextcontent( @msgid, 'some content' );
    call ml_qa_putmessage( @msgid, 'clientid\queuename' );
    commit;
end