Hi James,

I attach a picture of my smtp configuration lines of "general.properties";
one thing the I see is that I have gmail settings lines (socketFactory.port
and socketFactory.class) commented (disabled).
Try to comment those two lines and retry to send an email.
Once sent the email, I would check in the logs (searching for the service
that handles the email), if there are any smtp errors (like connection
errors, user permission problems,..).
Let us know.

Thanks,

Giulio

2017-08-18 15:07 GMT+02:00 <[email protected]>:

> # -- mail notifications enabled (Y|N)
> mail.notifications.enabled=Y
>
>
> # -- redirect all mail notifications to this address for testing
> mail.notifications.redirectTo=
>
>
> # -- the default mail server to use
> mail.smtp.relay.host=smtp.office365.com
>
>
> # -- SMTP Auth settings
> mail.smtp.auth.user=xxxxx
> mail.smtp.auth.password=xxxx
> # -- Additional Required Fields needed for Gmail and other non
> traditional smtp servers
> # -- These added fields also work for Yahoo business mail for instance
> # -- Gmail smtp port can be either 465 or 587
> mail.smtp.port=587
> # -- Gmail requires StartTLS
> mail.smtp.starttls.enable=true
>
>
> # -- Gmail requires a JSSE socket factory, the following socketFactory
> settings will override JavaMail's default socketFactory settings
> # -- Port needs to be the same as mail.smtp.port
> mail.smtp.socketFactory.port=587
> mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
> #--Fallback [true|false] determines whether you will allow a non secure
> connection if you are unable to get a secure one
> mail.smtp.socketFactory.fallback=false
>
>
> Thanks,
>
> James
>
> -------- Original Message --------
> Subject: Re: email Configuration
> From: Giulio Speri - MpStyle Srl <[email protected]>
> Date: Thu, August 17, 2017 2:32 pm
> To: [email protected]
>
> Hi James,
>
> Could you share your email smtp settings in general.properties file?
>
> Thanks,
> Giulio
>
> Il 17/Ago/2017 22:13, <[email protected]> ha scritto:
>
> > Team - I am having a difficult time trying to configure email smtp. It
> > works for gmail but it will not work for go daddy or Office 365
> > exchange. Anyone else experience this problem and how did you solve it?
> >
> > Thanks,
> >
> > James
> >
>



-- 
Giulio Speri

*Mp Styl**e Srl*
via Antonio Meucci, 37
41019 Limidi di Soliera (MO)
T 059/684916
M 334/3779851

www.mpstyle.it

Reply via email to