I am using PHPMailer 5.2.0 for sending mail from localhost using my GMAIL account, it works perfectly, but when I hosted whole contents to a free sub-domain in getmeleave.orgfree.com, I get a error message as follows
SMTP Error: Could not connect to SMTP host.
Please give me solution for this, as it is my final year project. Thank you