Dear Aspose,
I am using Aspose email Java 18.7 Trial version.
When using MailMessage to send email, though the message is sent to recipient, I see that
the message is not getting delivered to the sender email:
// sample psuedo code:
// msgEmail is an object of MailMessage
msgEmail.setFrom(new MailAddress("testemail1@gmail.com", "Test email"));
msgEmail.getTo().addMailAddress(new MailAddress("testemail2@gmail.com", "Test email"));
msgEmail.getBcc().addMailAddress(new MailAddress("testemail1@gmail.com", "Test email"));
msgEmail.setSubject("Test Email");
SmtpClient client = new SmtpClient(smtpServerAddr, smtpPort, smtpUserName, smtpPwd);
client.send(msgEmail);
With the above, I see email is getting delivered to "testemail2@gmail.com" but I am not seeing a copy of the email being sent to "testemail1@gmail.com"
Can you please let me know what needs to be done to ensure a copy of the email is sent to the configured “From Address” specified in MailMessage’s setFrom() method.
Thanks
Venkata