Forum

Forum

How to manage SMTP ...
 

[Sticky] How to manage SMTP configuration and troubleshoot the issues?  


oshelpdesk
Posts: 12
Admin
(@oshelpdesk)
Member
Joined: 5 years ago

Please follow the steps:

Step 1:

Go to the path in your application: app/Config/constants.php

Step 2:

Set the following in Gmail SMTP:

define(“SMTP_HOST”, “ssl://smtp.gmail.com”);

define(“SMTP_PORT”, “465”);

define(“SMTP_UNAME”, “[email protected]”);

define(“SMTP_PWORD”, “******”);

Please provide your smtp username and password to configure your SMTP.

If you are finding problem after setting the username and password then please check the below:

  • Go to your php.ini file and enable the “php_openssl” in you PHP setting.
  • You need to enable extension=php_openssl.dll on php.ini file. If you are still facing the problem then the port 465 is not available. Try with 587 port.
  • Otherwise, Please contact with your server administrator

Please run the following URL to check email is working or not:

http://DOMAINNAME/cron/test_email/?to=emailId

Example:

According to the response received in your browser, here is how you can fix your SMTP configuration- Read more

Share: