Add new user error

Anybody has found a solution on how to resolve this error issue below? Any response from scriptcase team? please…!!!

Fatal error: Uncaught Swift_TransportException: Expected response code 220 but got code “421”, with message "421 Cannot connect to SMTP server 196.13.208.14 (196.13.208.14:25), connect error 10060 " in C:\Program Files (x86)\NetMake\v9-php73\wwwroot\scriptcase\prod\third\swift\classes\Swift\Transport\AbstractSmtpTransport.php:383 Stack trace: #0 C:\Program Files (x86)\NetMake\v9-php73\wwwroot\scriptcase\prod\third\swift\classes\Swift\Transport\AbstractSmtpTransport.php(289): Swift_Transport_AbstractSmtpTransport->_assertResponseCode(‘421 Cannot conn…’, Array) #1 C:\Program Files (x86)\NetMake\v9-php73\wwwroot\scriptcase\prod\third\swift\classes\Swift\Transport\AbstractSmtpTransport.php(117): Swift_Transport_AbstractSmtpTransport->_readGreeting() #2 C:\Program Files (x86)\NetMake\v9-php73\wwwroot\scriptcase\prod\third\swift\classes\Swift\Mailer.php(79): Swift_Transport_AbstractSmtpTransport->start() #3 C:\Program Files (x86)\NetMake\v9-php73\wwwroot\scriptcase\app\stest\app_form_edit_users\app_form_edit_users_apl.php(45 in C:\Program Files (x86)\NetMake\v9-php73\wwwroot\scriptcase\prod\third\swift\classes\Swift\Transport\AbstractSmtpTransport.php on line 383

Have you set up / defined your mailserver correctly? I would expect something as ‘mail.yoursite.com’ etc. 421 Cannot connect to SMTP server 196.13.208.14 (196.13.208.14:25) looks like a local mail server which rejects the connection. Can be a firewall, wrong credentials …

hello aducom, thanks for the reply, ived been trying to sort this out isnce way back, at first i didnt set the email option, and i was getting this returning error (attached) whenever im trying to add a new user in my application.

…Then i have tried the following email config (attached), still getting error,
dont know if there are other setting thats need to be done…but really fed up with this…email

It can be a burden to get the thing going. Usually, your local mail setting in outlook/thunderbird should be the key, but I have struggled a lot with email, so I know. Verify ports, sometimes the provider uses different ports. Sometimes the port is ok, but the secure connection is not used. Sometimes visa versa. I’ve seen many things. In one particular case, I had to use a regular non-encrypted version to get things going (…) Or the mailserver has a different name. And when you deploy to another user, the fun starts all over again. It is what it is. But frustrating: absolutely!

This is definitely a configuration error. Also check if there are any firewall, on your side that prevent the use of port 465, check that mail.databytes.sc is available from your server, be sure that you are whitelisted or not on a blacklist, …

What will help from SC will be to catch those error and transform them in a more readable message

thanks all, managed to get it sorted out.