Email configurations

For the NADA to function correctly it is important that this step be completed.

Many of the functions within the NADA – such as registration and applying for access to datasets require that the NADA be able to send emails to users.

There are two ways to setup your email configurations. 1) Create a email.php file in the application/config folder 2) Edit email settings on the site configurations page.

1. Configure email via email config file

  1. Open the file application/config/email.php in notepad
  2. Fill in the section using SMTP server with authentication enabled highlighted in below image
_images/smtp-config.png
  1. For Gmail user will have to fill the gmail smtp section shown as below
_images/gmail-email-config.png
  1. Save file

Note

Using a file for email configuration disable the email configuration page from the site administration.

  1. Login to your NADA as an administrator
  2. Go to Site administration, click on the Settings menu and choose “Settings”
  3. Find the section “SMTP settings”
_images/smtp-settings.png
  1. If the PHP/web server is configured to send email using PHP’s MAIL function, select the first option and don’t fill in anything else.

If your organization has a mail server and has have a dedicated account that can be setup for NADA, use the following settings: Check the radio button “Use SMTP Server”

  1. Enter the host name for the server

  2. Enter the port used by the server to send mail

  3. If required, enter the user name used to send mail on the server

  4. Enter the password used to send mail on the server

    If the organization does not own a mail server, a Gmail account can be configured to be used with NADA.

  • Check the radio button “Use SMTP Server”
  • Host name: ssl://smtp.googlemail.com or ssl://smtp.gmail.com
  • SMTP port: 465
  • Account username: email-address@gmail.com
  • Account password: password for the gmail account

Test the email settings

The quickest way to test if the email settings are working is to use the “forgot password” option from the user login page.

  • Click on forgot password
_images/forgot-password.png
  • Enter the administrator or any other accounts email address.
  • Check to the email account the mail was sent to.
  • If no mail is received the settings are wrong and need to be corrected.