php - PHPMailer throws error when sending mail from a free subdomain -


i using phpmailer 5.2.0 sending mail localhost using gmail account, works perfectly, when hosted whole contents free sub-domain in getmeleave.orgfree.com, error message follows

smtp error: not connect smtp host. 

please give me solution this, final year project. thank you

in many case issue, solution lack of ssl support in php. need enable like:

extension=php_openssl.dll 

if not solve this?. suggest enable smtp debug available on smtp configuration page , try send email. give more detailed story of why can't send message.

$mail->smtpdebug = 1; 

once set true report smtp error.


Comments