I think I have found a solution to the smtp send mail error.
After configuring smtp, an error message will appear when sending new users and sending messages between users. PHPMailer ERROR:SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Relaying disallowed as "useremail@useremail.com" SMTP code: 553
The reason is that the mail service provider does not allow unauthenticated email addresses as "send from". And pgv uses the user's email address as "send from" by default.
Preliminary solution:
Includes/functions_mail.php
150 line $mail_object->From = $from;
changed to
` $mail_object->From = $PGV_SMTP_AUTH_USER;`
This method is still not perfect. In particular, from_name will be incorrect when sending messages between users.
Hope Gerry Kroll can be solved perfectly, thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I have found a solution to the smtp send mail error.
After configuring smtp, an error message will appear when sending new users and sending messages between users.
PHPMailer ERROR:SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Relaying disallowed as "useremail@useremail.com" SMTP code: 553
The reason is that the mail service provider does not allow unauthenticated email addresses as "send from". And pgv uses the user's email address as "send from" by default.
Preliminary solution:
Includes/functions_mail.php
150 line
$mail_object->From = $from;
changed to
This method is still not perfect. In particular, from_name will be incorrect when sending messages between users.
Hope Gerry Kroll can be solved perfectly, thank you.