moodle email

来源:互联网 发布:全友家私怎么样知乎 编辑:程序博客网 时间:2024/05/17 07:47

1. login with admin role
2. go to "Site administration > server > email"
3. fill in following settings
    SMTP hosts: smtp.gmail.com:465
    SMTP username: xxx@gmail.com
    SMTP password: xxx
4. find /lib/phpmailer/class.smtp.php, Around line 83 DIRECTLY after the Connect function header, insert this line immediately after the "{" :
    $host = 'ssl://' . $host;

ref link: http://docs.moodle.org/en/Email_setup_gmail


checking if the email settings work or not:
1. go to "Site administration > Users > Authentication > Manage authentication", scroll down, set "self registration" as "email-based self registration".

2. "logout > login > create new account", after that, if you receive an confirmation email, it means that moodle email setting is fine.

moodle send email blocks:
* Quickmail 1
http://moodle.org/mod/data/view.php?d=13&rid=92&filter=1

* Quickmail 2 (support large course)
http://moodle.org/mod/data/view.php?d=13&rid=764&filter=1


原创粉丝点击