Installation help

 
 
Picture of Hanan Cohen
Can't send email
 

Mail cannot be sent from my installation of Moodle 2.1.5

I have tried to get help from my server host but they say that because regular access to the sending mailbox is OK, the problem is with Moodle.

Any help with this issue will be highly appreciated.

Thanks,

Here is the sending log. The domain is not somedomain.org.il and the IP is not [so.me.ip.num]

SMTP -> get_lines(): $data was ""

SMTP -> get_lines(): $str is "220-srv1.somedomain.org.il ESMTP Exim 4.80.1 #2 Tue, 06 Aug 2013 15:21:35 +0300
"

SMTP -> get_lines(): $data is "220-srv1.somedomain.org.il ESMTP Exim 4.80.1 #2 Tue, 06 Aug 2013 15:21:35 +0300
"

SMTP -> get_lines(): $data was "220-srv1.somedomain.org.il ESMTP Exim 4.80.1 #2 Tue, 06 Aug 2013 15:21:35 +0300
"

SMTP -> get_lines(): $str is "220-We do not authorize the use of this system to transport unsolicited,
"

SMTP -> get_lines(): $data is "220-srv1.somedomain.org.il ESMTP Exim 4.80.1 #2 Tue, 06 Aug 2013 15:21:35 +0300
220-We do not authorize the use of this system to transport unsolicited,
"

SMTP -> get_lines(): $data was "220-srv1.somedomain.org.il ESMTP Exim 4.80.1 #2 Tue, 06 Aug 2013 15:21:35 +0300
220-We do not authorize the use of this system to transport unsolicited,
"

SMTP -> get_lines(): $str is "220 and/or bulk e-mail.
"

SMTP -> get_lines(): $data is "220-srv1.somedomain.org.il ESMTP Exim 4.80.1 #2 Tue, 06 Aug 2013 15:21:35 +0300
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
"

SMTP -> FROM SERVER:220-srv1.somedomain.org.il ESMTP Exim 4.80.1 #2 Tue, 06 Aug 2013 15:21:35 +0300
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.


SMTP -> get_lines(): $data was ""

SMTP -> get_lines(): $str is "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
"

SMTP -> get_lines(): $data is "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
"

SMTP -> get_lines(): $data was "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
"

SMTP -> get_lines(): $str is "250-SIZE 52428800
"

SMTP -> get_lines(): $data is "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
"

SMTP -> get_lines(): $data was "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
"

SMTP -> get_lines(): $str is "250-8BITMIME
"

SMTP -> get_lines(): $data is "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
"

SMTP -> get_lines(): $data was "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
"

SMTP -> get_lines(): $str is "250-PIPELINING
"

SMTP -> get_lines(): $data is "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
"

SMTP -> get_lines(): $data was "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
"

SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN
"

SMTP -> get_lines(): $data is "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
"

SMTP -> get_lines(): $data was "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
"

SMTP -> get_lines(): $str is "250-STARTTLS
"

SMTP -> get_lines(): $data is "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
"

SMTP -> get_lines(): $data was "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
"

SMTP -> get_lines(): $str is "250 HELP
"

SMTP -> get_lines(): $data is "250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
"

SMTP -> FROM SERVER: 250-srv1.somedomain.org.il Hello srv1.somedomain.org.il [so.me.ip.num]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP


SMTP -> get_lines(): $data was ""

SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6
"

SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6
"

SMTP -> get_lines(): $data was ""

SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6
"

SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6
"

SMTP -> get_lines(): $data was ""

SMTP -> get_lines(): $str is "535 Incorrect authentication data
"

SMTP -> get_lines(): $data is "535 Incorrect authentication data
"

SMTP -> ERROR: Password not accepted from server: 535 Incorrect authentication data


SMTP Error: Could not authenticate.

 
Average of ratings: -
Gmads
Re: Can't send email
Group Particularly helpful MoodlersGroup Testers

Hi Hanan,

I don't know what to make of that log, but at the end is what I think is causing the problem:

SMTP -> ERROR: Password not accepted from server: 535 Incorrect authentication data
SMTP Error: Could not authenticate.

 
Average of ratings:Useful (1)
Picture of Hanan Cohen
Re: Can't send email - I have found the problem and solution
 

In certain SMTP installations, the username must contain the domain too and not just the username.

For example:

SMTP hosts: somedomain.org.il

SMTP username: moodle@somedomain.org.il

SMTP password: mailboxpassword

 
Average of ratings:Useful (1)