I want to devlop a screen for entering server, Port,Username and Password for SMT开发者_如何学PythonP (Mail sending)
So i want to provide one button for "Test" Those credentionals
How can i check credentionls are correct or not
The simplest solution is to attempt to connect to the server and try to authenticate, if you get a bad authentication response from the server the credentials are bad.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论