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.

Shares

WordPress Plugins

Start selling products, sending newsletters, publishing ads and more through your own WordPress website using our premium WordPress plugins.

Browse

Pin It on Pinterest

%d bloggers like this: