php - Username without Email Extension in PHPMailer -


i want use university email server send/receive emails project hosts on our university server. have true username , password email. example: our login username "xxxxxx" email address "xxxxxx@metu.edu.tr" on squirrelmail. username has no email extension. can login , see emails using these credentials:

username: xxxxxx

password: yyyyyy

now set phpmailer settings that:

define('smtp_host', 'mail.metu.edu.tr');

define('smtp_port', '587');

define('smtp_secure', 'tls');

define('smtp_user', 'xxxxxx@metu.edu.tr');

define('smtp_password', 'yyyyyy');

here phpmailer error:

smtp -> error: password not accepted server: 535 5.7.8 error: authentication failed: authentication failure  smtp -> server:250 2.0.0 ok  smtp error: not authenticate. 

all settings correct. password correct too. because can send email myself using hosting username "xxxxxx@zzz.com" if set username(email address) "xxxxxx@zzz.com" on mail server, not "xxxxxx". think in university hosting set email adresses without extension. need send/receive emails on host.

how can fix phpmailer problem without intervention host properties.

first check if server accepts passwords plain or md5 hashed. think sending plain.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -