Mail configuration: Difference between revisions
Helen Foster (talk | contribs) (→Outgoing mail configuration: emailfromvia setting (MDL-57293)) |
|||
Line 3: | Line 3: | ||
{{New features}}In Moodle 3.2 onwards, there is no longer a setting 'Always send from no-reply address'. Instead there is a setting 'Allowed email domains'. If you want to send emails from users' real addresses you need to add domains allowed by your mail server to this list. Sending email from email addresses not matching the sender's domain will be detected by clients and such emails could be classified as spam. | {{New features}}In Moodle 3.2 onwards, there is no longer a setting 'Always send from no-reply address'. Instead there is a setting 'Allowed email domains'. If you want to send emails from users' real addresses you need to add domains allowed by your mail server to this list. Sending email from email addresses not matching the sender's domain will be detected by clients and such emails could be classified as spam. | ||
{{New features}}The setting 'Email via information' (emailfromvia) adds via information in the From section of outgoing email to inform the recipient where the email came from: | |||
Name (via shortname) <noreplyaddress> | |||
'shortname' is the short name for the site as set in the front page settings. | |||
==Incoming mail configuration== | ==Incoming mail configuration== |
Revision as of 09:41, 25 January 2017
Outgoing mail configuration
New feature
in Moodle 4.3!
In Moodle 3.2 onwards, there is no longer a setting 'Always send from no-reply address'. Instead there is a setting 'Allowed email domains'. If you want to send emails from users' real addresses you need to add domains allowed by your mail server to this list. Sending email from email addresses not matching the sender's domain will be detected by clients and such emails could be classified as spam.
New feature
in Moodle 4.3!
The setting 'Email via information' (emailfromvia) adds via information in the From section of outgoing email to inform the recipient where the email came from:
Name (via shortname) <noreplyaddress>
'shortname' is the short name for the site as set in the front page settings.
Incoming mail configuration
If incoming mail processing is enabled in 'Incoming mail configuration' in Site administration, then users are able to reply to forum posts via email and send files to their private files as email attachments.
Mailbox configuration
It is important to have a dedicated email address here. Don't use one you normally use for your personal emails. You do not need to add the @ sign. If you have set up the email mountorangeschool @ besteveremail.com then it would be entered as in the following screenshot:
Incoming mail server settings
As an example, if you are using gmail you would use IMAP.gmail.com in the Incoming mail server (messageinbound_host) field. (If using gmail you also need to make sure that you've enabled IMAP for yor gmail account - see https://support.google.com/mail/troubleshooter/1668960?hl=en )
Note1: The SMTP server hosting the mailbox you've configured above must support plus addressing i.e. any email sent to mountorangeschool+blahblahblah@besteveremail.com is still delivered to mountorangeschool@besteveremail.com.
Note2 : The username and password here must relate to the settings you entered earlier in Mailbox configuration. So if your address was mountorangeschool @ besteveremail.com and your username is mountorangeschool, then enter your username in this section along with the password you use to get into this email account.
Note 3: You may also need to make sure that your host does not block outbound connections to the IMAP ports (some do by default).
Note 4: If using gmail, you may find that IMAP does not work with Google's higher security setting. If IMAP is not working with gmail, check out https://support.google.com/accounts/answer/6010255?hl=en-GB
Message handlers
Email to Private files
- If you enable this, then users will be able to send attachments via email directly to their private files. See Private files for details of how the feature works.
- Each user will be provided with an address in their Private files to which they send the email and attached files. You can set the default expiry period for this address here.
- Checking the 'Validate sender address' box will mean that if an email is sent to a user's private files from a different account from that registered with user in Moodle, then Moodle will check first before allowing the file to be stored in the user's Private files.
Invalid recipient handler
If a valid message is received but the sender cannot be authenticated, the message is stored on the email server and the user is contacted using the email address in their user profile. The user is given the chance to reply to confirm the authenticity of the original message.This handler processes those replies.
It is not possible to disable sender verification of this handler because the user may reply from an incorrect email address if their email client configuration is incorrect.
Reply to forum posts
- If you enable this, then users will be able to reply to forum posts directly from their email inbox. See the section on 'Reply to posts via email' in Using Forum for details of how the feature works.
- You must set Site administration > Plugins > Message outputs > Email to 'Always send email from the No reply address'; otherwise users will see the email of the forum poster instead.
- Each user will be provided with reply-to address when they click to reply to a forum post via email. You can set the default expiry period for this address here.
See also
- Need help configuring forum's "Reply to post" feature forum discussion