gmail.rst 5.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #########
  2. Gmail
  3. #########
  4. Goto Advanced > Default Settings and under the ``Email`` Section. Make sure these settings are enabled. Once these values are set press the **Reload** button at the top right of the page.
  5. * There is a good chance you will have to do this via command line on your FusionPBX install https://accounts.google.com/b/0/DisplayUnlockCaptcha
  6. * If you have a headless install(no desktop gui) then you will have to install lynx. Lynx is a command line web browser. For Debian you would type the example below. Follow the prompts for email address and password.
  7. ::
  8. apt-get install lynx
  9. lynx https://accounts.google.com/b/0/DisplayUnlockCaptcha
  10. * You may also have to enable less secure apps https://support.google.com/accounts/answer/6010255?hl=en
  11. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  12. | Default Setting Subcategory | Default Setting Name | Default Setting Value | Default Setting Enabled | Default Setting Description |
  13. +=============================+======================+============================+=========================+===================================================================================+
  14. | smtp_host | text | smtp.gmail.com | True | email providers server address |
  15. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  16. | smtp_from | text | [email protected] | True | smtp from emaill address |
  17. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  18. | smtp_port | numeric | 587 | True | port number of the mail server provider |
  19. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  20. | smtp_from_name | text | Voicemail | True | smtp from name |
  21. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  22. | smtp_auth | text | true | True | smtp auth is required |
  23. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  24. | smtp_username | text | [email protected] | True | Use the full email address |
  25. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  26. | smtp_password | text | ************************** | True | typically the email password |
  27. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  28. | smtp_secure | text | tls | True | tls or ssl depending on the provider. |
  29. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  30. | smtp_validate_certificate | boolean | true | True | set to false to ignore SSL certificate warnings e.g. for self-signed certificates |
  31. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  32. | method | text | smtp | True | smtp|sendmail|mail|qmail |
  33. +-----------------------------+----------------------+----------------------------+-------------------------+-----------------------------------------------------------------------------------+
  34. To see if there are any failed email attempts goto Status > Emails. Once the issue causing the emails to fail is found you can click to resent them.
  35. .. Note::
  36. The log is stored in the /tmp directory.