Author |
|
BKV Newbie
Joined: 18 October 2007 Location: Russian Federation
Online Status: Offline Posts: 9
|
Posted: 16 March 2019 at 12:30pm | IP Logged
|
|
|
Hello,
We have a situaton when message could be send using SMTP server, if it fails, it will be send in direct mode.
The message has to be signed (MailMessage.DomainKeysSign ) only when it is send in direct mode.
So, we are not able to sign message before Smtp.Send method called.
How to sign message before MailBee.SmtpMail.Smtp selected certain way to send message( using smtp server or direct send)?
Thank you.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 18 March 2019 at 2:04am | IP Logged
|
|
|
Hello,
Just send the message normally (with Send), then (on failure of Send) call DomainKeysSign and do direct send now (e.g. clear .SmtpServers collection and add DNS server into .DnsServers and call Send again).
Regards,
Alex
|
Back to Top |
|
|