West Wind Toolkit for .NET
The Remove Certificate is Invalid
Gravatar is a globally recognized avatar based on your email address. The Remove Certificate is Invalid
  Dmitry Litvak
  All
  Jun 20, 2018 @ 07:56pm

Hi,

I am using a registered (purchased) copy of the ww Client Tools. And when I used a small text PRG I get no error message.

Then I incorporated the ww Client Tools into my application. But, when using wwSmtp, I get the following error message:

"The remove certificate is invalid according to the validation procedure"

What am I missing?

UPDATE. This is my problem. I set the loSmtp.lUseSsl to .T. but apparently it cannot be used with every STMP. Once I set it to .F., the error message disappeared.

Thank you.

Gravatar is a globally recognized avatar based on your email address. re: The Remove Certificate is Invalid
  Rick Strahl
  Dmitry Litvak
  Jun 20, 2018 @ 08:19pm

Not a helpful message... more info please. what are you doing?

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: The Remove Certificate is Invalid
  Dmitry Litvak
  Rick Strahl
  Jun 20, 2018 @ 08:22pm

I just updated my message before I saw your reply.

The problem is with me setting loSmtp.lUseSsl = .T. which apparently cannot be used with any SMTP.

Thank you.

Gravatar is a globally recognized avatar based on your email address. re: The Remove Certificate is Invalid
  Dmitry Litvak
  Rick Strahl
  Jun 20, 2018 @ 11:53pm

I have a question, please.

My vertical market app is very large and it is possible that I won't change the old wwipstuff emailing to the wwSmtp in all "places" right away. But the new wwSmtp depends on the newer version of wwipstuff.dll. The old class wwIpStuff also depends on the wwIpStuff.dll.

Do you know if the old class wwIpStuff will work with the newer/latest version of the wwIpStuff.dll?

Gravatar is a globally recognized avatar based on your email address. re: The Remove Certificate is Invalid
  Rick Strahl
  Dmitry Litvak
  Jun 21, 2018 @ 05:57am

Maybe but probably not. The versions are a matched set between the PRG classes, wwDotnetBridge.dll and wwipstuff.dll.

The wwSmtp class is interface compatible with wwipstuff - you should be able to just change the class name and the mode setting - everything else should stay the same. It's easy to make those changes with search and replace and a little extra work. I recommend using GoFish which will find all places in your project(s) where you're using wwipstuff (or whatever you search for).

+++ Rick ---

© 1996-2024