I got this in place but is does not work relaiable. Maybe you have an idea how this could happen.
There is no difference if I use the 1.3 or 1.7 version of the GemBox-DLL.
There is also no difference if I use
Dim validationDelegate As RemoteCertificateValidationCallback
or
Dim ignoreCertificate As System.Net.Security.RemoteCertificateValidationCallback
I am using the following:
Dim security = GemBox.Email.Security.ConnectionSecurity.StartTls
Dim Port = 465
The HTML-Body is always the same:
HTML = HTML + “” + vbLf
HTML = HTML + “<span style=” + Chr(34) + “font-weight bold;” + Chr(34) + “>Hallo Test im HTML Format ” + vbLf
HTML = HTML + “”
message.BodyHtml = HTML
’ Set the SMTP host, port and connection security.
Using smtp As New SmtpClient(host, port, security, validationDelegate)
It works a few times not, then it it works for one time. I tryed it out at 3 different Clients, two with disabled NTLM one with NTLM enabled, on all Clients the same effect.
The network traffic passes the Firewall between the Exchange Backend and the Clients unhindered.
Error Message is:
MAIN:5.7.60 SMTP; Client does not have permissions to send as this sender
bei GemBox.Email.Smtp.SmtpClient.SendMessage(MailMessage message)
Hi,
I got the issue fixed, our Exchange-Load-Balancer was / is the Problem. It seems so that not all balanced Machines are providing the same Services.