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 188.8.131.52. The Target .NET Framework is 3.5.
I repeated the same thing with v184.108.40.206 for the .NET 3.5 frameworks with the same result.
answered Nov 25 '14 at 11:54
I tried with 220.127.116.11 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