Hi,
I will appreciate any help - I'm experiencing this problem for quite a while now. I tried all possible solutions that i could remember to connect to smtp.zoho.com from external sources.
Firstly I tried to put up a form on website to send emails - first with custom MVC and SwiftMailer, then I tried in Laravel, and then I also tried to connect to zoho with MacMail - always getting
500 error or
connection timed out error or
it is unable to verify account credentials.
I tried with enabled two-step authentication with generated passwords for external source, then i also tried with disabled two step authentication with my personal password and also i tried to connect through different ports with many variations when setting up the credentials, so i could make myself sure that I'm not doing something wrong. Also I tried to configure firewall on my vps and turn it completely off - no results.
I tred to find a solution before posting this, but i really couldn't find it.
Below I pasted 2 variations that I see as correct connection from out-sources to Zoho. I tried also withoud encryption, also checked out my code million times and approaches I'm making to send/recieve some mail - and really no go.
Anything my frustrated head is missing here? I will appreciate any help ! Thanks !
Note: I can login and send/recieve email perfectly from my mail.zoho.com inbox.
MAIL_DRIVER=smtp
MAIL_HOST=smtp.zoho.com
MAIL_PORT=465
MAIL_USERNAME=xxxx@xxxx.xx
MAIL_PASSWORD=xxxxxx
MAIL_ENCRYPTION=ssl
-------
MAIL_DRIVER=smtp
MAIL_HOST=smtp.zoho.com
MAIL_PORT=587
MAIL_USERNAME=xxxx@xxxx.xx
MAIL_PASSWORD=xxxxxx
MAIL_ENCRYPTION=tls