Called Mail() without being connected

Called Mail() without being connected” is a common issue when using a SMTP relay service to send your emails.

Reason for the Error

If you’re using a SMTP relay service, the plugin makes a PHP socket connection to the SMTP host of the service.

Some shared hosting providers block certain ports and some block outgoing PHP socket connections completely.

How to Fix the Error

You can just ask the hosting provider to open the port for you or enable fsockopen() accordingly. Tell your hosting provider what the error is then give them the SMTP host, port and protocol you are trying to connect to so that they can allow/enable the outgoing socket connection.

If you get a “Called Mail() without being connected“, that usually means the outgoing connection is blocked by the hosting. Again, the hosting provider can quickly open/allow it for you to resolve the problem.

Website & Email Hosting

Get the best website & email hosting for speed, security, and peace of mind. No restrictions. Freedom to do what you need in order to run your business.

Host Now

Pin It on Pinterest