Dear all
I trying to send email copy yo the student using gmail account i try everything but i can't success yet, i using Moodle 1.9.9 i change class.smtp.php and upload it,as that page explain.
http://docs.moodle.org/22/en/Email_setup_gmail
at first I didn't change that line:
30: var $SMTP_PORT = 25;
it doesn't work so i change it to
30: var $SMTP_PORT = 465;
the same result it doesn't work!!
in that 2 cases i change line 82 to the following:
82: function Connect($host,$port=0,$tval=30) {$host = 'ssl://smtp.gmail.com:465' . $host;
and also i try with:
82: function Connect($host,$port=0,$tval=30) {$host = 'ssl://' . $host;
doesn't work too!!
but I notice Moodle sent pop up internal message, and nothing to the e-mail!!
and sent the message twice with the same time and date!!
any help!!