Free Support Forum - aspose.com

Setting reply-to address on MSG file

I have been evaluating the Aspose.Netwok library for Java. Our requirement is to set a reploy-to address for the messages we create. Is that possible?

Many thanks in advance

mm

Hi Michael,


Thanks for your inquiry.

I am sorry, reply to address cannot be specified currently. I have logged this issue for investigation (ID: 21127). We will check if it would be possible to specify the reply to in the MSG file and will get back to you.

Hi,

I am also having the same issue. I looked at the .MSG file that was created and noticed that the PR_REPLY_RECIPIENT_ENTRIES & PR_REPLY_RECIPIENT_NAMES properties on the message were not set. Can these be added in?

Thanks,

Jason Woods

Hi,


We are working on this issue and hopefully a fix would be available in near future. We will inform you as soon as it gets fixed. Sorry for the inconvenience.

Hi,

MailMessage.setReplyToList() method is added in the latest release, which takes email address(es).

MailMessage message = new MailMessage();
MailAddressCollection addresses = new MailAddressCollection();
addresses.add("reply1@domain.com");
addresses.add("reply2@domain.com");
message.setReplyToList(addresses);