Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14318 reviews 1707 hosting providers

Questions & Answers

I Can't send email from cPanel/ mailserver?

Apr 19, 2012 by SaraSX
Hi all

I have a problem sending emails from my mail-server or cPanel. I keep getting this  error message
Message not sent. Server replied:

Connection timed out
110 Can't open SMTP stream.

How can I fix this?
please help

2 Answers

0 votes
Apr 19, 2012 by WebProX
hi Sara,

Edit the following file, and change useSendmail to true, instead of false:


Save this, and close it, but you must do the following so that cpanel doesn't change useSendmail back to false:

chattr +ai /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php
0 votes
Apr 19, 2012 by tareq101
If you have:


then make sure

SMTP_ALLOWLOCAL is also be set to "1"