Setting Up Gmail App Access for Joomla 2.5

  1. Login to your Gmail account
  2. Click on Apps icon

gmail_app_account.png

  1. Click on My Account

gmail_app_account_icon.png

  1. Click on Sign In & Security

gmail_app_security.png

  1. Click on App Passwords

gmail_app_password.png

  1. Click on Select App and then Other. Enter a name for the application.

gmail_app_password2.png

  1. Click Generate
  1. Copy the generated password

gmail_app_generate.png

  1. Put the generated password into Joomla admin and save settings

gmail_app_joomla_clean.png

  1. Test the site email by clicking the “Test Email” button. If email successful this message displays

gmail_app_success.png

  1. If email does not return success message:
  • Debug using JDump in file ..\libraries\phpmailer\smtp.php
  • Check openssl is enabled in PHP.ini with extension_loaded('openssl')
  • Check TLS connection established with if(!stream_socket_enable_crypto($this->smtp_conn, true, STREAM_CRYPTO_METHOD_TLS_CLIENT))
  • Check Authentication codes

Note: Openssl and TLS failures must be resolved by your host provider.