Hi All,
I am getting this error
Method 'send' in COM object of class 'CDO.Message' returned error code 0x8004020F (<unknown>) which means: <unknown>.
When I try to send email from job.
SysMailer mailer = new SysMailer();
mailer.quickSend(payables@testDomain.ae,
"This is test email. Please ignore",
"body",
"",
@\\ServerName\Vendor\test.pdf);
Note --> From email address and To email address are in different domain. (error occurred when these two domain are different, works fine when domain are same)
In PROD environment there are two AOS server --> AOS1, AOS2
Strange things happen when above piece of code works fine in AOS2 and gives error in AOS1.
Any one can tell me cause of this error and how can I resolve it.
Thanks in advance
SysMailer mailer = new SysMailer();
mailer.quickSend(payables@testDomain.ae,
"abc@testdomain2.com",
"This is test email. Please ignore",
"body",
"",