Dear Ofbiz Mailing List Members,

while trying to setup the email configuration for my ofbiz installation
(following
https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-EmailServerSettings)

it seems that that the changes I do in
framework/common/config/general.properties are completely ignored by
Ofbiz on startup.

Even though I have enabled the email notifications I get a strange error
message in the console output when trying to send email, e.g. when
resetting a users password through the ecommere app I get

2019-03-25 20:05:02,474 |http-nio-8443-exec-8
|EmailServices                 |I| Mail notifications disabled in
general.properties; mail with subject [OFBiz Demo - Password Reminder
([email protected])] not sent to addressee [[email protected]]

Please find below the line my email settinngs from the
general.properties file;

After grepping around for a while in the file system I found the file :
file:/...framework/common/data/CommonSystemPropertyData.xml.

Then after putting in all the email settings here too and loading the
file through the xml data loader and after trying to send passwort reset
emails, I got at least an error message that the mail could not be sent
due to an authentication problem.


Could someone tell me what I am missing here? Where is the right place
to configure the email settings ?

Thanks for your answer in advance.


Kind regards

Martin


____________________________________________________________snip________________________

# -- 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.googlemail.com

# -- SMTP Auth settings
mail.smtp.auth.user=<[email protected]>
mail.smtp.auth.password=<passwd>

# -- 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=465
# -- 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=465
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

# -- how the address are matched with the CRM addresses
mail.address.caseInsensitive=N

# -- debug SMTP mail option enabled (Y|N)

mail.debug.on=Y


____________________________________________________________snap________________________


Reply via email to