SMTP ERROR: Failed to connect to server: Connection refused (111) – Directadmin Server Fix
Sometimes users need to send outgoing e-mails with external SMTP servers. Most popular example is PHPMailer with its ability to use free SMTP servers, for example Gmail. Here is the short piece of code, that allows to do this: If you have a Directadmin server with csf firewall installed, most probably you will get this message on execution:… Read More »