Difference between revisions of "Email settings"

Jump to: navigation, search
m (removing 1.9 template)
(removing page notes link)
Line 1: Line 1:
 
{{Server settings}}
 
{{Server settings}}
<p class="note">'''Please refer to [[Page_notes#Server settings|these notes]] before editing this page.'''</p>
+
Location: ''Settings > Site administration > Plugins > Message outputs > Email''
 
 
 
 
Location: ''Administration > Server > Email''
 
  
  
Line 30: Line 27:
  
 
Email sent from Moodle needs to have a return address or many servers will reject it as spam. Some users also want to keep their email private, so Moodle sends all of its email using the noreply address you set here.
 
Email sent from Moodle needs to have a return address or many servers will reject it as spam. Some users also want to keep their email private, so Moodle sends all of its email using the noreply address you set here.
 
==Hour to send digest emails==
 
 
Moodle allows mail digests from the forums, so users get only one email per day instead of an individual message for every posting. This setting specifies when digests are emailed to users. Users set their email digest type in their profile page.
 
 
==Support==
 
 
A support name, support email and support page may be set up for users requiring general help.  This email address can be set via site administration>server>email>Support email. 
 
 
If set, emails from Moodle regarding password setting/resetting, password change confirmation, password and account confirmation will list the support name, support email and support page at the bottom of the email. 
 
 
:TIP: New installs should check this setting.  The default might surprise you.
 
  
 
==See also==
 
==See also==
Line 47: Line 32:
 
*[[Email processing]]
 
*[[Email processing]]
 
*[[Email setup gmail|Email setup for google mail]]- requires access to Moodle's php files
 
*[[Email setup gmail|Email setup for google mail]]- requires access to Moodle's php files
 
[[Category:Administrator]]
 
  
 
[[hu:E-mail beállítások]]
 
[[hu:E-mail beállítások]]
 
[[ja:メール設定]]
 
[[ja:メール設定]]

Revision as of 12:15, 12 September 2011

Location: Settings > Site administration > Plugins > Message outputs > Email


SMTP hosts

SMTP stands for Simple Mail Transfer Protocol. The SMTP host is an email relay that will take the email from Moodle and send it to users. You will need to set this only if your server does not allow mail relay. Otherwise, PHP will send out the mail using its built-in mail server. All the email sent by forums and other modules will be sent through this host.

Most SMTP hosts make use of the default port 25 to for listening email traffic. However, occasionally a non-default port is used. In such cases, entering an SMTP host followed by a colon (i.e. :) and the port number should work. For example, if my SMTP host is myemailserver.com and it listens on port 587 or 465 (most common) instead of port 25 I would enter the SMTP host as myemailserver.com:587. Currently, the parameter check is too strict to allow this via the Moodle UI; however, MDL-15923 has been created and resolved to address this. Until then, it can be set via phpMyAdmin using a query statement like:

UPDATE mdl_config SET value='myemailserver.com:587' WHERE name='smtphosts';

Secure SMTP hosts with SSL/TLS

For SMTP hosts that require secure authentication, SSL or TLS you must run the following query:

UPDATE mdl_config SET value='ssl://myemailserver.com:465' WHERE name='smtphosts';

SMTP username

If you set an SMTP server and it requires authentication, enter the username for the account that will be relaying the email from Moodle.

SMTP password

Enter the password for the SMTP user you set previously.

No-reply address

Email sent from Moodle needs to have a return address or many servers will reject it as spam. Some users also want to keep their email private, so Moodle sends all of its email using the noreply address you set here.

See also