Upgraded to Moodle 3.4.1+ and gmail stopped working

Re: Upgraded to Moodle 3.4.1+ and gmail stopped working

by Dimitar Bogatinov -
Number of replies: 2

What about this problem 

2018-10-24 21:11:17	Invalid address:  (punyEncode) noreply@164.40.250.162

In reply to Dimitar Bogatinov

Re: Upgraded to Moodle 3.4.1+ and gmail stopped working

by Daniel Tamajon -

Hi! 

Have someone done any advance on solving this situtation?

My context is Moodle 3.6.2, running on nginx with PHP7.2, on a Debian 8 server.

I have different moodle sites on the same machine and all them can send mails using SMTP, except one which is giving me the "Invalid address:  (punyEncode)" message using the mailtest plugin.

I have tested SMTP parameters on a email client and its working properly.


Any help is welcome.

Thank you!

In reply to Daniel Tamajon

Re: Upgraded to Moodle 3.4.1+ and gmail stopped working

by Daniel Tamajon -

Hi!

I have found the problem was the variable maildomain was not defined, so you must define it on the config.php:

// Domain which acccepts email for processing
$CFG->maildomain = 'mydomain.com';