I have hosted my website on Plesk Hosting and was working on submitting the contact form. Installed PHP Mailer using composer. First I tried to send email using Gmail SMPT server it worked fine Second I tried to send email using my webhosting SMTP Server it is not working for me
$mail->Host = 'webmail.abc.in'; //host
$mail->SMTPAuth = false;
$mail->Username = '******@abc.in';
$mail->Password = '*******';
$mail->SMTPSecure = 'tls';
$mail->Port = 25;
I tested the SMPT server using SMTPER . it could send email using same credentials.
i dont know where the issue is..
is there any other library other then phpmailer??