You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Brajesh Patel <br...@gmail.com> on 2012/10/02 17:11:17 UTC

Re: Email configuration

Hi Guangwen,

Following link will help you:

http://ofbiz.135035.n4.nabble.com/how-to-configure-SMTP-td4628571.html



On Sun, Sep 30, 2012 at 3:52 PM, Guangwen Zhou <zg...@hotmail.com> wrote:

> Hi, guys
>
> When I use click EmailPassword in forgotPassord page, I got the following
> error:
>
>
>
> Problems with configuration; please contact customer service.
>
>
>
> The email configuration is as following, I am using gmail. What's the
> problem?
>
>
>
> # -- 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.gmail.com
>
>
>
> # -- SMTP Auth settings
>
> mail.smtp.auth.user=xxx@gmail.com
>
> mail.smtp.auth.password=XXX
>
>
>
> # -- 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
>
> Shrek
>
>


-- 
Thanks
Brajesh Patel
Salmonllc.com
http://bigfish.salmonllc.com/bfDemo.html

skype: brajesh.patel11
Cell:- +91 8750709907

RE: Email configuration

Posted by ZhouGuangwen <zg...@hotmail.com>.
I still got the same problem, with following configure:# -- mail notifications enabled (Y|N)mail.notifications.enabled=N
# -- redirect all mail notifications to this address for testing#mail.notifications.redirectTo=
# -- the default mail server to usemail.smtp.relay.host=smtp.gmail.com
# -- SMTP Auth settingsmail.smtp.auth.user=zgwmike@gmail.commail.smtp.auth.password=zgwmike810221
# -- 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 587mail.smtp.port=465# -- Gmail requires StartTLSmail.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.portmail.smtp.socketFactory.port=465mail.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 onemail.smtp.socketFactory.fallback=false
# -- how the address are matched with the CRM addressesmail.address.caseInsensitive=N
# -- debug SMTP mail option enabled (Y|N)mail.debug.on=Y

Thanks for your helpShrek
> Date: Tue, 2 Oct 2012 20:41:17 +0530
> Subject: Re: Email configuration
> From: brajeshpatel07@gmail.com
> To: user@ofbiz.apache.org
> 
> Hi Guangwen,
> 
> Following link will help you:
> 
> http://ofbiz.135035.n4.nabble.com/how-to-configure-SMTP-td4628571.html
> 
> 
> 
> On Sun, Sep 30, 2012 at 3:52 PM, Guangwen Zhou <zg...@hotmail.com> wrote:
> 
> > Hi, guys
> >
> > When I use click EmailPassword in forgotPassord page, I got the following
> > error:
> >
> >
> >
> > Problems with configuration; please contact customer service.
> >
> >
> >
> > The email configuration is as following, I am using gmail. What's the
> > problem?
> >
> >
> >
> > # -- 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.gmail.com
> >
> >
> >
> > # -- SMTP Auth settings
> >
> > mail.smtp.auth.user=xxx@gmail.com
> >
> > mail.smtp.auth.password=XXX
> >
> >
> >
> > # -- 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
> >
> > Shrek
> >
> >
> 
> 
> -- 
> Thanks
> Brajesh Patel
> Salmonllc.com
> http://bigfish.salmonllc.com/bfDemo.html
> 
> skype: brajesh.patel11
> Cell:- +91 8750709907