Jump to content

Unable to send emails via SMTP


Ranjan

Recommended Posts

Hi there,

I recently moved my WHMCS to another hosting and come to know that my WHMCS installation sending system emails via phpmail instead of SMTP , so I just updated my settings to send emails via my smtp account.

Now the problem is WHMCS can't able to send any email, it showing a timeout page after about 30 sec.

I also asked sendgrid support (smtp provider) about this, they told me to whitelist server ip, I did that.

but problem not solved.

 

Here is the error msg from activity log: Email Sending Failed - SMTP connect() failed.

github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

 

 

What I can assure that my entered smtp details are correct, and even worked on my previous hosting ( hosted on a vps).

 

So, please look into the matter and help me if I made any mistake.

Thanks.

Link to comment
Share on other sites

Here is the error message

SMTP ERROR: Failed to connect to server: Connection timed out (110)

SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

 

Email Sending Failed - SMTP connect() failed. github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Link to comment
Share on other sites

Sometimes this problem can be caused by using the wrong ports.

 

Who is your provider? Maybe you can change your ports, I know of a lot of providers that block port 25. thus, you'd need to send mail through 465..

 

Let's us know so I can help you further.

 

Nick.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated