Dear Team
We are using Aspose 4.8.0. In code we are getting the current user email address and setting it to
MailMessage mailMsg = MailMessage.load("C:/dev/Projects/EDM/New Template 08022017/NL to Connected Banker - Een ING kredietcontract klaar om te ondertekenen - Naam van de klant.msg" );
MailAddress mailAddAdmin = new MailAddress("neeraj.singh.bhainsora@ing.be");
mailMsg.setFrom(mailAddAdmin);
The From is setting correctly but while sending it from Outlook its throwing error.
This message could not be sent.
Try sending the message again later, or contact your network administrator. You
do not have the permission to send the message on behalf of the specified user.
Error is [0x80070005-0x0004dc-0x000524].