• Resolved Julius

    (@juliuspepito)


    Hi,

    I am new to this send mail via smtp. I’m using zoho as the host. I simply follow the instructions of WP-Mail-SMTP to change its settings.

    SMTP Host: smtp.zoho.com
    SMTP Port: 465
    Encryption: SSL encryption
    Authentication: Yes
    Username: [email protected]
    Password: my password

    and I am getting this output.

    The SMTP debugging output is shown below:

    Connection: opening to ssl://smtp.zoho.com:465, timeout=300, options=array ()
    SMTP ERROR: Failed to connect to server: Connection timed out (110)
    SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you tried with SSL off?

    As an alternative I use a different SMTP provider, its free.

    https://www.mxtools.co.uk/kb/mxo/45-how-to-setup-mxtools-outbound-smtp-for-wordpress

    @julius Not very sure about the issue. As per the error, it seems the Port 465 is blocked on your server where WordPress is installed.

    In case you have the shell access, then try doing telnet and check whether the outgoing smtp port over 465 is opened or not.

    Else, you can also try connecting over Port 2525, which most of the time works. Not sure, if zoho SMTP supports port 2525 or not.

    In case not, you can try using Pepipost SMTP, which works on port 25, 587 and 2525.
    25000 emails per month is Free for lifetime and no charge for email opens.

    Pepipost WordPress Plugin for reference:
    https://www.ads-software.com/plugins/pepipost/

    Thread Starter Julius

    (@juliuspepito)

    @mvpage16 Yes I’ve tried SSL off.

    Thread Starter Julius

    (@juliuspepito)

    @geniusdibya Seems like there is a little confusion as the host provider does not allow different email providers to send emails to where my site is installed & it should only be on the host itself.

    Thread Starter Julius

    (@juliuspepito)

    Solve it, check with the host provider & is inform that it is not possible to use different email provider to send emails from where my WordPress site is installed. So I create an email in the host itself for outgoing email and use its smtp configuration.

    Hope this topic can also help others.
    Thanks!

    You can use different email providers also. The hosting provider can block SMTP PORTS to other email providers. But, there is an alternative which works over API.

    Hence, I suggested using Pepipost WordPress Plugin: https://www.ads-software.com/plugins/pepipost/

    This plugin works over HTTP and hence no need to worry about the port block problem. There are other similar plugins from some of the other email providers too. You need to just signup and get the API key.

    • This reply was modified 8 years, 2 months ago by geniusdibya.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can't send mail via SMTP’ is closed to new replies.