francisguchie edited a comment on pull request #1597:
URL: https://github.com/apache/fineract/pull/1597#issuecomment-774112571


   > @awasum @francisguchie Default port and the host are 25 and smtp.gmail.com 
respectively. Is this correct? Gmail smtp server uses 587 & 465 ports to send 
email. Should we change these values accordingly?
   
   @BLasan  
   originally, it was set as such , where fineract was ignoring the set port 
and i created an issue 
[here](https://issues.apache.org/jira/browse/FINERACT-1070) 
   
   Even if use sets the following, MifosX will not send emails
   1- Configure the server on which mifos is installed to be able to send 
Emails - One can do this by installing sSMTP on the server and testing email 
sending on the command line
   
   2- if using a gmail address only ports 465 and 587 will work because port 25 
is by default disabled on google servers This includes very many other VPS / 
Mail servers
   
   3- Configure the port under the Email External Services Configuration 
   
   one will still get the error  below
   
   03-Jul-2020 19:59:41.251 SEVERE [https-jsse-nio-443-exec-18]
   com.sun.jersey.spi.container.ContainerResponse.mapMappableContainerException
   The RuntimeException could not be mapped to a response, re-throwing to the 
HTTP container
   
   org.apache.fineract.infrastructure.core.service.PlatformEmailSendException:
   org.apache.commons.mail.EmailException:
   Sending the email to the following server failed : smtp.gmail.com:25
   at 
org.apache.fineract.infrastructure.core.service.GmailBackedPlatformEmailService.sendDefinedEmail(GmailBackedPlatformEmailService.java:81)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to