Community Discussions and Support
Delivery Receipt Using Mercury Server

Hi All,

Im using Mercury mail server with java. I have configured the delivery receipt and read receipt with separate mail address in my java program for mercury server.

When i run the program, the delivery receipt is sent to recipient address and not to the email address given for delivery receipt. With read receipt im able to send to the email address configured to read receipt, but im also getting a copy of the mail in recipient email address.

When I inspected the delivery confirmation template files of mercury server, by default it has recipient email address[~T]. ~T is the substitution for recipient address template files.

Actually it should be able to get the address given in header of java program.Like this

msg.addHeader("Return-Receipt-To", <mail address="">);</mail>

<mail address=""></mail>

Can anyone guide me how to override this to address in sucess delivery template with my own dynamic email address or how to override the same using java program?

&lt;p&gt;Hi All, &lt;/p&gt;&lt;p&gt;Im using Mercury mail server with java. I have configured the delivery receipt and read receipt with separate mail address in my java program for mercury server. &lt;/p&gt;&lt;p&gt;When i run the program, the delivery receipt is sent to recipient address and not to the email address given for delivery receipt. With read receipt im able to send to the email address configured to read receipt, but im also getting a copy of the mail in recipient email address. &lt;/p&gt;&lt;p&gt;When I inspected the delivery confirmation template files of mercury server, by default it has recipient email address[~T]. ~T is the substitution for recipient address template files. &lt;/p&gt;&lt;p&gt;Actually it should be able to get the address given in header of java program.Like this msg.addHeader(&quot;Return-Receipt-To&quot;, &lt;mail address=&quot;&quot;&gt;);&lt;/mail&gt;&lt;/p&gt;&lt;p&gt;&lt;mail address=&quot;&quot;&gt; Can anyone guide me how to override this to address in sucess delivery template with my own dynamic email address or how to override the same using java program?&lt;/mail&gt;&lt;/p&gt;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft