phpmailer SMTP connect() failed composer leagua code example Example: require php mailer composer require phpmailer/phpmailer