Hi there ! , Im working on sending mails for my website , i wrote the code below , and it works great in openserver , i uploaded it in ftp , and went to my website , to try it . It doesnt send any mails to other mails , even smtp verbose debugging not showing , though again it works great in openserver (localhost)
here is my website
yes , in localhost it works , in other hosting it works too , but i want it to work in this hosting since this is the best hosting amongst other free hosting . Any suggestions why its not working ?
So, in the way described in that article, I enabled error messages on your website and tried again. And presto! There was an error message:
Fatal error: require_once(): Failed opening required 'phpmailer/PHPMailerAutoload.php' (include_path='.:/usr/share/pear/') in /home/vol8_7/epizy.com/epiz_25725501/htdocs/mail.php on line 9
So there are no mails or SMTP output because PHPMailer can’t be loaded. And, looking at your account, there doesn’t seem to be a folder phpmailer in your account at all.
So can you please upload the phpmailer folder and try again?