Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

 AfterLogic Forum : MailBee.NET Objects
Subject Topic: DKIM and several SMTP servers Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
BKV
Newbie
Newbie


Joined: 18 October 2007
Location: Russian Federation
Online Status: Offline
Posts: 9
Posted: 16 March 2019 at 12:30pm | IP Logged Quote BKV

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 View BKV's Profile Search for other posts by BKV
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 18 March 2019 at 2:04am | IP Logged Quote Alex

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 View Alex's Profile Search for other posts by Alex
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide