Everytime I send an e-mail I have a smart card windows prompt
I recently needed to install a smart card reader for another project. And now, everytime, I use the sendmail function, I get a windows security prompt saying "connect a smart card".
The only way to use the function to send email now is to have the smart card reader connected, which is very inconvenient. I use CDO to send mail. The prompt appears when mMessage.Send() is being processed in this function :
Re: Everytime I send an e-mail I have a smart card windows prompt
This is most likely not a problem with your code but with the general environment. There is probably something involved in the Smart Card reader drivers and software that when an authentication is being performed, the smart card needs to be present. TestComplete doesn't really do anything deliberate with Smart Cards or anything.
Robert Martin [Hall of Fame] Please consider giving a Kudo if I write good stuff ----
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.