Friday, April 4, 2014

Configuring SMTP settings in Moodle


  1. smtp-setup-plugin-1-selectNavigate to Site administration > Plugins > Message outputs >Email in the settings section. 
  2. smtp-setup-plugin-2-smtpOn the Email page, configure the SMTP settings. By default Moodle will use the PHP mail function to send emails. If the administrator wants the email to go to a specific SMTP server, Like Gmail or Yahoo, the SMTP configuration settings can be adjusted to allow a different server to be used.
    In this tutorial, a Gmail email address will be used for the SMTP settings. The following fields will need to be configured for the mail to work. Below is an example of a generic Gmail SMTP set up.
    SMTP hosts: smtp.gmail.com:465
    (The port number must be attached to the Server host name for the port to be used. The standard configuration for the port will follow the hostname:port# format.)
    SMTP security: SSL
    (This setting will vary on the email servers SMTP setting requirements. For Gmail, SSL is required for the connection.)
    SMTP username: (The full email address for the username)
    SMTP password: Password for the email address.
    Below is a table with the settings for configuring the email messaging.

    Messaging output / Email
    SMTP hostsThe SMTP host is the server the email address connects to. For example, on our servers, the SMTP host will look something like the following:
    mail.yourdomaincom (None)
    secure##.inmotionhosting.com (SSL)
    SMTP securitySMTP security will either encrypt the out going email data or not. The SSL setting must match the same type of connection that was used for the SMTP Host name.
    SMTP usernameThis will be the full email address for the email account. Most email service providers require the entire email address for the username.
    SMTP passwordThis is the password for the specific email address that is being set up.
    SMTP session limitThis setting can prevent spam coming from the same session on the server. Limiting to 1 will require a new session to be created in order for an email to be set.
    No-reply addressThe no reply address is what displays in the return email address. This prevents the email address from being replied to by the recipient.
    Character setAllows the Character set to be changed to UTF-8, EUC-JP, GB18030, GB2312, ISO-2022-JP, ISO-8859-1, or SHIFT-JIS.
    Allow user to select character setEnables the users to be able to change the Character set.
    Newline characters in mailThis sets the type of character used for Newline characters.

    Once the fields have the correct Email information in them, click Save changes. Now messages sent through Moodle will deliver to the Gmail server as an authenticated user.

0 comments:

Post a Comment

    Blogger news

    Blogroll

    About