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

14611 reviews 1734 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
ERROR:
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:

/usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php

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:

SMTP_BLOCK = 1

then make sure

SMTP_ALLOWLOCAL is also be set to "1"