Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET Objects

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

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


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
AfterLogic Support
AfterLogic Support

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


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).

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