diff --git a/app/Config/constants.php b/app/Config/constants.php index c2e744d5..2b40da83 100644 --- a/app/Config/constants.php +++ b/app/Config/constants.php @@ -14,8 +14,8 @@ //Make sure to enable "php_openssl" in PHP. In WAMP, you need to enable extension=php_openssl.dll on php.ini file //Gmail SMTP -define("SMTP_HOST", "ssl://smtp.gmail.com"); -define("SMTP_PORT", "465"); +define("SMTP_HOST", "smtp.gmail.com"); +define("SMTP_PORT", "587"); define("SMTP_UNAME", "youremail@gmail.com"); define("SMTP_PWORD", "******"); //https://www.arclab.com/en/amlc/list-of-smtp-and-imap-servers-mailserver-list.html (Get the list of Host names) @@ -176,4 +176,4 @@ //define("NODEJS_HOST",'http://www.your-application.com:3002'); //enable this, if you have Node.js setup in the server // If you are enabling NODEJS_HOST, make sure you have PHP version >5.3.0 // Also, remove comment on "use ElephantIO\Client as ElephantIOClient" from the following files -// app/Controller/EasycasesController.php, app/Controller/Component/PostcaseComponent.php, app/webroot/EmailReply.php \ No newline at end of file +// app/Controller/EasycasesController.php, app/Controller/Component/PostcaseComponent.php, app/webroot/EmailReply.php