Skip to main content

Gmail as mail server

To use Gmail as your mail server, you can configure it in the global configuration settings if you have a working Gmail account.

On the server tab, configure the following settings:

  • Mailer: SMTP
  • SMTP Host: smtp.gmail.com
  • SMTP Port: 465
  • SMTP Security: SSL/TLS
  • SMTP Authentication: Yes

Set the next two lines with your information. You will need to use an app-specific password (ASP), which can be generated as described below:

  • SMTP Username: Your Gmail username
  • SMTP Password: The app-specific password (ASP) you generated

Alternatively, you can use the following combinations:

  • SMTP Port: 587

  • SMTP Security: STARTTLS

  • SMTP Port: 25

  • SMTP Security: STARTTLS

Enabling the SSL widget in Apache is not necessary.

However, the OpenSSL extension must be enabled in PHP. You can find detailed instructions for enabling OpenSSL in PHP on the php.net Installation page.

If you are using WAMP on Windows, note that the OpenSSL widget is not enabled by default and needs to be enabled manually. To do this:

  1. Open the php.ini file and remove the semicolon (;) at the beginning of the line extension=php_openssl.dll to uncomment it.
  2. Save the php.ini file and restart the Apache service.

Please note that if you have enabled 2-step verification in Gmail, you need to add a new password in the Gmail settings. This can be done by going to Settings - Accounts - Change account settings - Other Google Account settings - Security - 2-step verification - Manage your application-specific passwords.

When entering the new Application Specific Password (ASP) in groups of four characters separated by spaces, make sure NOT to include the spaces in the SMTP password field in the mail server settings in Origen.

For more information about Application Specific Passwords (ASPs), you can refer to the Google Support page on Sign in with App Passwords. Additionally, if you want to enable 2-Step Verification, you can find instructions on the Google Support page on Turning on 2-Step Verification.