I have encountered an Email malfunction with send as permission error. The following is the error message I got. I have only change private info to xxx. Everything else remains. Please help me on this. Thanks!
-------------------------------------------------
2014-12-14 08:35:56 Connection: opening to smtp.office365.com:587, t=10, opt=array (
)
2014-12-14 08:35:58 Connection: opened
2014-12-14 08:35:58 SMTP -> get_lines(): $data was ""
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "220 SIXPR03CA015.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 14 Dec 2014 08:35:58 +0000
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "220 SIXPR03CA015.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 14 Dec 2014 08:35:58 +0000
"
2014-12-14 08:35:58 SERVER -> CLIENT: 220 SIXPR03CA015.outlook.office365.com Microsoft ESMTP MAIL Service ready at Sun, 14 Dec 2014 08:35:58 +0000
2014-12-14 08:35:58 CLIENT -> SERVER: EHLO 120.27.30.188
2014-12-14 08:35:58 SMTP -> get_lines(): $data was ""
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
"
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "250-SIZE 78643200
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
"
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "250-PIPELINING
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
"
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "250-DSN
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
"
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
"
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "250-STARTTLS
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
"
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "250-8BITMIME
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
"
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "250-BINARYMIME
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
"
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "250 CHUNKING
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250 CHUNKING
"
2014-12-14 08:35:58 SERVER -> CLIENT: 250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-8BITMIME
250-BINARYMIME
250 CHUNKING
2014-12-14 08:35:58 CLIENT -> SERVER: STARTTLS
2014-12-14 08:35:58 SMTP -> get_lines(): $data was ""
2014-12-14 08:35:58 SMTP -> get_lines(): $str is "220 2.0.0 SMTP server ready
"
2014-12-14 08:35:58 SMTP -> get_lines(): $data is "220 2.0.0 SMTP server ready
"
2014-12-14 08:35:58 SERVER -> CLIENT: 220 2.0.0 SMTP server ready
2014-12-14 08:35:59 CLIENT -> SERVER: EHLO 120.27.30.188
2014-12-14 08:35:59 SMTP -> get_lines(): $data was ""
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
"
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "250-SIZE 78643200
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
"
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "250-PIPELINING
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
"
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "250-DSN
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
"
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
"
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "250-AUTH LOGIN
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
"
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "250-8BITMIME
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
"
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "250-BINARYMIME
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
250-BINARYMIME
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data was "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
250-BINARYMIME
"
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "250 CHUNKING
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
250-BINARYMIME
250 CHUNKING
"
2014-12-14 08:35:59 SERVER -> CLIENT: 250-SIXPR03CA015.outlook.office365.com Hello [120.27.30.188]
250-SIZE 78643200
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH LOGIN
250-8BITMIME
250-BINARYMIME
250 CHUNKING
2014-12-14 08:35:59 CLIENT -> SERVER: AUTH LOGIN
2014-12-14 08:35:59 SMTP -> get_lines(): $data was ""
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6
"
2014-12-14 08:35:59 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2014-12-14 08:35:59 CLIENT -> SERVER: bW9vZGxlQGdpbWUuZHVmZS5jbg==
2014-12-14 08:35:59 SMTP -> get_lines(): $data was ""
2014-12-14 08:35:59 SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6
"
2014-12-14 08:35:59 SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6
"
2014-12-14 08:35:59 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2014-12-14 08:35:59 CLIENT -> SERVER: R2ltZTEyMzQ1Njc=
2014-12-14 08:36:03 SMTP -> get_lines(): $data was ""
2014-12-14 08:36:03 SMTP -> get_lines(): $str is "235 2.7.0 Authentication successful
"
2014-12-14 08:36:03 SMTP -> get_lines(): $data is "235 2.7.0 Authentication successful
"
2014-12-14 08:36:03 SERVER -> CLIENT: 235 2.7.0 Authentication successful
2014-12-14 08:36:03 CLIENT -> SERVER: MAIL FROM:
2014-12-14 08:36:03 SMTP -> get_lines(): $data was ""
2014-12-14 08:36:03 SMTP -> get_lines(): $str is "250 2.1.0 Sender OK
"
2014-12-14 08:36:03 SMTP -> get_lines(): $data is "250 2.1.0 Sender OK
"
2014-12-14 08:36:03 SERVER -> CLIENT: 250 2.1.0 Sender OK
2014-12-14 08:36:03 CLIENT -> SERVER: RCPT TO:<xxxx@xxxxx.com>
2014-12-14 08:36:03 SMTP -> get_lines(): $data was ""
2014-12-14 08:36:03 SMTP -> get_lines(): $str is "250 2.1.5 Recipient OK
"
2014-12-14 08:36:03 SMTP -> get_lines(): $data is "250 2.1.5 Recipient OK
"
2014-12-14 08:36:03 SERVER -> CLIENT: 250 2.1.5 Recipient OK
2014-12-14 08:36:03 CLIENT -> SERVER: DATA
2014-12-14 08:36:04 SMTP -> get_lines(): $data was ""
2014-12-14 08:36:04 SMTP -> get_lines(): $str is "354 Start mail input; end with .
"
2014-12-14 08:36:04 SMTP -> get_lines(): $data is "354 Start mail input; end with .
"
2014-12-14 08:36:04 SERVER -> CLIENT: 354 Start mail input; end with .
2014-12-14 08:36:04 CLIENT -> SERVER: Date: Sun, 14 Dec 2014 16:35:56 +0800
2014-12-14 08:36:04 CLIENT -> SERVER: To: "xxx" <xxxx@xxxxx.com>
2014-12-14 08:36:04 CLIENT -> SERVER: From: "xxxx"
2014-12-14 08:36:04 CLIENT -> SERVER: Reply-To: "xxxx"
2014-12-14 08:36:04 CLIENT -> SERVER: Subject: =?utf-8?B?5p2l6IeqU2lZYW7nmoTmlrDmtojmga8=?=
2014-12-14 08:36:04 CLIENT -> SERVER: Message-ID: <27e67eb9ec72fade0bb01bdeb67a25f1@120.27.30.188>
2014-12-14 08:36:04 CLIENT -> SERVER: X-Priority: 3
2014-12-14 08:36:04 CLIENT -> SERVER: X-Mailer: PHPMailer Moodle 2014111001 (https://github.com/PHPMailer/PHPMailer/)
2014-12-14 08:36:04 CLIENT -> SERVER: MIME-Version: 1.0
2014-12-14 08:36:04 CLIENT -> SERVER: Content-Type: text/plain; charset=UTF-8
2014-12-14 08:36:04 CLIENT -> SERVER: Content-Transfer-Encoding: 8bit
2014-12-14 08:36:04 CLIENT -> SERVER:
2014-12-14 08:36:04 CLIENT -> SERVER:
2014-12-14 08:36:04 CLIENT -> SERVER: test5
2014-12-14 08:36:04 CLIENT -> SERVER:
2014-12-14 08:36:04 CLIENT -> SERVER: ---------------------------------------------------------------------
2014-12-14 08:36:04 CLIENT -> SERVER: 这封邮件是"Test
2014-12-14 08:36:04 CLIENT -> SERVER: site”上发给您的消息的副本。到http://120.27.30.188/moodle/message/index.php?user=4&id=3回复。
2014-12-14 08:36:04 CLIENT -> SERVER:
2014-12-14 08:36:04 CLIENT -> SERVER: .
2014-12-14 08:36:09 SMTP -> get_lines(): $data was ""
2014-12-14 08:36:09 SMTP -> get_lines(): $str is "550 5.7.1 Client does not have permissions to send as this sender
"
2014-12-14 08:36:09 SMTP -> get_lines(): $data is "550 5.7.1 Client does not have permissions to send as this sender
"
2014-12-14 08:36:09 SERVER -> CLIENT: 550 5.7.1 Client does not have permissions to send as this sender
2014-12-14 08:36:09 SMTP ERROR: DATA END command failed: 550 5.7.1 Client does not have permissions to send as this sender
2014-12-14 08:36:09 SMTP Error: data not accepted.
Error calling message processor email
line 118 of /lib/classes/message/manager.php: call to debugging()
line 82 of /lib/classes/message/manager.php: call to core\message\manager::send_message_to_processors()
line 229 of /lib/messagelib.php: call to core\message\manager::send_message()
line 2185 of /message/lib.php: call to message_send()
line 184 of /message/index.php: call to message_post_message()