You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Francis Guchie (Jira)" <ji...@apache.org> on 2020/12/12 21:12:00 UTC

[jira] [Comment Edited] (FINERACT-1070) Email Service Configurations defaults to port 25 irrespective of Port number specified

    [ https://issues.apache.org/jira/browse/FINERACT-1070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17248463#comment-17248463 ] 

Francis Guchie edited comment on FINERACT-1070 at 12/12/20, 9:11 PM:
---------------------------------------------------------------------

[~vorburger] 
 i have this below from postman , same message ofcourse from the browser's console
Please note that i have tried both port 465 & 587 

*{*
     *"developerMessage": "The request was invalid. This typically will happen due to validation errors which are provided.",*
     *"httpStatusCode": "400",*
     *"defaultUserMessage": "Validation errors exist.",*
     *"userMessageGlobalisationCode": "validation.msg.validation.errors.exist",*
     *"errors": [*
         *{*
             *"developerMessage": "The parameter email is invalid.",*
             *"defaultUserMessage": "The parameter email is invalid.",*
             *"userMessageGlobalisationCode": "error.msg.user.email.invalid",*
             *"parameterName": "email",*
             *"value": null,*
             *"args": [*
                 *{*
                     *"value": "francisguchie@gmail.com"*
                 *}*
             *]*
         *}*
     *]*
 *}*


was (Author: francisguchie):
[~vorburger] 
i have this below from postman , same message ofcourse from the browser's console


*{*
    *"developerMessage": "The request was invalid. This typically will happen due to validation errors which are provided.",*
    *"httpStatusCode": "400",*
    *"defaultUserMessage": "Validation errors exist.",*
    *"userMessageGlobalisationCode": "validation.msg.validation.errors.exist",*
    *"errors": [*
        *{*
            *"developerMessage": "The parameter email is invalid.",*
            *"defaultUserMessage": "The parameter email is invalid.",*
            *"userMessageGlobalisationCode": "error.msg.user.email.invalid",*
            *"parameterName": "email",*
            *"value": null,*
            *"args": [*
                *{*
                    *"value": "francisguchie@gmail.com"*
                *}*
            *]*
        *}*
    *]*
*}*

> Email Service Configurations defaults to port 25 irrespective of Port number specified
> --------------------------------------------------------------------------------------
>
>                 Key: FINERACT-1070
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1070
>             Project: Apache Fineract
>          Issue Type: Bug
>          Components: System
>    Affects Versions: 1.4.0
>            Reporter: Francis Guchie
>            Assignee: Michael Vorburger
>            Priority: Critical
>             Fix For: 1.5.0
>
>         Attachments: email Service Configurations.png, image-2020-10-15-11-17-57-324.png, image-2020-12-02-11-56-01-572.png, image-2020-12-12-17-36-26-558.png
>
>
> 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 message was sent by Atlassian Jira
(v8.3.4#803005)