Introduction


Having a properly configured email sending setup is essential for the smooth operation of your eDirectory website. It ensures that your site can automatically send important emails to users, such as account confirmations, password resets, and notifications. Without this configuration, your users might miss critical updates, impacting their experience on your platform.


In this article, we’ll guide you through the process of configuring email sending using Google Gmail. Specifically, we’ll show you how to generate a random app-specific password, which is required to securely connect your email account hosted by Google to eDirectory. This step is crucial for ensuring reliable and secure email communication from your site. Let’s get started!



Step 1: Access Two-Step Verification Settings


  • Log in to your Google account using this link: https://myaccount.google.com/security.

  • Navigate to the "Security" section and click on "2-Step Verification."

  • If the "2-Step Verification." is not yet configured, a page will prompt you to configure it. Simply, click on "Getting started" to configure it. 

  • After configuring "2-Step Verification," click on the option "2-Step Verification"


Step 2: Generate an App Password


  • On the next page, scroll down and click on the "App passwords" option
  • A new page will be displayed. Enter only your site name as the example below:
  • Click on the "Create" button.


Step 3: Copy the Generated Password


  • The generated password will be displayed on the screen. 
  • Copy the password, as you will need to paste it in your eDirectory email settings.


Step 4: Configure Your Email Settings


  • Access your eDirectory email settings under Settings → Email sending configuration.
  • Paste the generated password in the respective field.


Remember the following Google settings for email configuration:


  • Server: smtp.gmail.com
  • Authentication: SSL
  • Port: 465
  • Email: Your Gmail account
  • Username: Same Gmail account as the previous field. 
  • Password: The generated password from the App Passwords section


After filling in all the information, make sure to click on "Save Configuration."



Conclusion


By following these simple steps, you can seamlessly configure email sending with Google while keeping Two-Step Verification activated. This ensures an added layer of security for your email account without compromising the functionality of external apps.


Now you can enjoy the benefits of enhanced security and reliable email communication through your preferred external apps. If you encounter any issues or have further questions, refer back to these instructions or reach out to Google's support for assistance.