SMTP Error in 4.6 Version of SujectsPlus

94 views
Skip to first unread message

AFA

unread,
Aug 30, 2022, 7:35:44 AM8/30/22
to SubjectsPlus
Dear All,

I successfully restore the backup of the SubjectsPlus 4.6 from 4.5.
While Configure the SMTP, It through the following Error. Kindly Help. I enable the SMTP Debug in Config Site Email setting.

2022-08-30 11:25:14 SERVER -> CLIENT: 220 MN2PR15CA0059.outlook.office365.com Microsoft ESMTP MAIL Service ready at Tue, 30 Aug 2022 11:25:13 +0000
2022-08-30 11:25:14 CLIENT -> SERVER: EHLO 18.190.24.197
2022-08-30 11:25:14 SERVER -> CLIENT: 250-MN2PR15CA0059.outlook.office365.com Hello [18.190.24.197]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2022-08-30 11:25:14 CLIENT -> SERVER: STARTTLS
2022-08-30 11:25:14 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2022-08-30 11:25:14 CLIENT -> SERVER: EHLO 18.190.24.197
2022-08-30 11:25:14 SERVER -> CLIENT: 250-MN2PR15CA0059.outlook.office365.com Hello [18.190.24.197]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2022-08-30 11:25:14 CLIENT -> SERVER: AUTH LOGIN
2022-08-30 11:25:14 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2022-08-30 11:25:14 CLIENT -> SERVER: <credentials hidden>
2022-08-30 11:25:14 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2022-08-30 11:25:14 CLIENT -> SERVER: <credentials hidden>
2022-08-30 11:25:14 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2022-08-30 11:25:14 SMTP ERROR: Password command failed: 334 VXNlcm5hbWU6
SMTP Error: Could not authenticate.
2022-08-30 11:25:14 CLIENT -> SERVER: QUIT
2022-08-30 11:25:14 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2022-08-30 11:25:14 SMTP ERROR: QUIT command failed: 334 UGFzc3dvcmQ6
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
Mailer Error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Thanks and Best Regards
AFA

charlesbr...@gmail.com

unread,
Aug 30, 2022, 9:51:30 AM8/30/22
to SubjectsPlus
Hello,

It looks like you're having an authentication error. In our case, we also connect to outlook on campus. Our campus IT department had to whitelist SubjectsPlus on the campus smtp server. 

In the SubjectsPlus config we have the following settings:
SMTP Host: <campus smtp host address>
SMTP Port: <campus smtp port>
Use SMTP Authorization: False
SMTP User: Leave blank
SMTP Password: Leave blank
Display SMTP debug errors: 0


Thanks,
Charles
Application Developer
University of Miami

AFA

unread,
Aug 31, 2022, 10:50:53 AM8/31/22
to SubjectsPlus
I try but failed it is showing the same error and I am trying to comment on something on the talkback.php page through the following error:-
After, When I click on Submit button the Administrator email ID in the email option comming. 
I use the following Setting in config file:-
$email_host = "smtp.office365.com";
$email_port = "587";
$email_smtp_auth = FALSE;
$email_username = "";
$email_password = "";

When I put FALSE in the $email_smtp_auth line then the following error it is shows:

2022-08-31 14:46:24 SERVER -> CLIENT: 220 BL0PR02CA0121.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 31 Aug 2022 14:46:23 +0000
2022-08-31 14:46:24 CLIENT -> SERVER: EHLO libguides.jgu.edu.in
2022-08-31 14:46:24 SERVER -> CLIENT: 250-BL0PR02CA0121.outlook.office365.com Hello [3.128.215.143]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2022-08-31 14:46:24 CLIENT -> SERVER: STARTTLS
2022-08-31 14:46:24 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2022-08-31 14:46:24 CLIENT -> SERVER: EHLO libguides.jgu.edu.in
2022-08-31 14:46:24 SERVER -> CLIENT: 250-BL0PR02CA0121.outlook.office365.com Hello [3.128.215.143]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2022-08-31 14:46:24 CLIENT -> SERVER: MAIL FROM:<public...@jgu.edu.in>
2022-08-31 14:46:29 SERVER -> CLIENT: 530 5.7.57 Client not authenticated to send mail. [BL0PR02CA0121.namprd02.prod.outlook.com]
2022-08-31 14:46:29 SMTP ERROR: MAIL FROM command failed: 530 5.7.57 Client not authenticated to send mail. [BL0PR02CA0121.namprd02.prod.outlook.com]
The following From address failed: public...@jgu.edu.in : MAIL FROM command failed,Client not authenticated to send mail. [BL0PR02CA0121.namprd02.prod.outlook.com],530,5.7.57SMTP server error: MAIL FROM command failed Detail: Client not authenticated to send mail. [BL0PR02CA0121.namprd02.prod.outlook.com] SMTP code: 530 Additional SMTP info: 5.7.57
Mailer Error: The following From address failed: public...@jgu.edu.in : MAIL FROM command failed,Client not authenticated to send mail. [BL0PR02CA0121.namprd02.prod.outlook.com] ,530,5.7.57SMTP server error: MAIL FROM command failed Detail: Client not authenticated to send mail. [BL0PR02CA0121.namprd02.prod.outlook.com] SMTP code: 530 Additional SMTP info: 5.7.57SMTP server error: MAIL FROM command failed Detail: Client not authenticated to send mail. [BL0PR02CA0121.namprd02.prod.outlook.com] SMTP code: 530 Additional SMTP info: 5.7.57

When I put TRUE in the $email_smtp_auth line then the following error it shows:

2022-08-31 14:48:33 SERVER -> CLIENT: 220 BL1P222CA0012.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 31 Aug 2022 14:48:33 +0000
2022-08-31 14:48:33 CLIENT -> SERVER: EHLO libguides.jgu.edu.in
2022-08-31 14:48:33 SERVER -> CLIENT: 250-BL1P222CA0012.outlook.office365.com Hello [3.128.215.143]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-STARTTLS250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2022-08-31 14:48:33 CLIENT -> SERVER: STARTTLS
2022-08-31 14:48:33 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2022-08-31 14:48:33 CLIENT -> SERVER: EHLO libguides.jgu.edu.in
2022-08-31 14:48:33 SERVER -> CLIENT: 250-BL1P222CA0012.outlook.office365.com Hello [3.128.215.143]250-SIZE 157286400250-PIPELINING250-DSN250-ENHANCEDSTATUSCODES250-AUTH LOGIN XOAUTH2250-8BITMIME250-BINARYMIME250-CHUNKING250 SMTPUTF8
2022-08-31 14:48:33 CLIENT -> SERVER: AUTH LOGIN
2022-08-31 14:48:33 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2022-08-31 14:48:33 CLIENT -> SERVER: <credentials hidden>
2022-08-31 14:48:33 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2022-08-31 14:48:33 CLIENT -> SERVER: <credentials hidden>
2022-08-31 14:48:33 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2022-08-31 14:48:33 SMTP ERROR: Password command failed: 334 VXNlcm5hbWU6

SMTP Error: Could not authenticate.
2022-08-31 14:48:33 CLIENT -> SERVER: QUIT
2022-08-31 14:48:33 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2022-08-31 14:48:33 SMTP ERROR: QUIT command failed: 334 UGFzc3dvcmQ6
Reply all
Reply to author
Forward
0 new messages