Error sending email

@Teodor and @Alexander_Paladines, when I used the try…catch the “stack” element did not return, only the timeout message, when I removed the try…catch… I could see the “stack error” and I was able to verify that the international login call from my email provider, I should use another smtp, both with SSL (port 465) and without SSL (port 587). It worked!! Thank you very much for your attentions!