Hi, I'm trying to send multiple notifications and want to verify the smtp login before starting any preparation for sending the notifications, but my problem is the calls to VerifySmtpLogin don't seem to do anything before my first SentEmail call.
var mailman = new MailMan();
mailman.SmtpHost = _settings.EmailServer;
mailman.ReadTimeout = 15;
var smtpLoginIsValid = mailman.VerifySmtpLogin(); // false
Do I need to initialize something before calling verifyxxx?
Check out this Chilkat article on the Invalid Token error, it might help:
Essentially it says that you are trying to use SSL on a non-SSL port. Does it work if you use Port 465 instead (with UseSsl = 1), or port 587 with UseSsl = 0?
answered Nov 25 '14 at 12:10
The project ist about 3 years old, inclused is the Version: ChilkatDotNet2.dll Version 126.96.36.199. The Target .NET Framework is 3.5.
I repeated the same thing with v188.8.131.52 for the .NET 3.5 frameworks with the same result.
answered Nov 25 '14 at 11:54
I tried with 184.108.40.206 using known good credentials and settings and it worked as expected (VerifySmtpLogin returned 1 on the first call).
A few things:
answered Nov 25 '14 at 11:24