Dear Gurus,
When I try to activate OFBiz Passwords Forget (Email Passwords function) in the
Login webpage, I have got the following Error message:
The Following Errors Occurred:
Error occurred: unable to email password. Please try again later or contact
customer service. (error was: [CON] Connection error when sending message to
***************@hotmail.com from ****************@outlook.com cc bcc subject
New Password Sent (my own user login id)).
What I have done in customizing the OFBiz Email Passwords is as follows:
1. Update the fields (which are not null) From_Address, CC_Address and
BCC_Address from tables ofbiz.product_store_email_setting and
ofbiz.email_template_setting to sending email address
******************@outlook.com
2. Modify the file general.properties as follows:
# -- general default 'fromEmailAddress' can be overridden in:
EmailTemplateSetting
defaultFromEmailAddress=******************@outlook.com
# -- 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=******************(my outlook mail name with the
@outlook.com)
mail.smtp.auth.password=*******************(my outlook mailbox passwords)
# -- 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
3. Update the predefined fields from table ofbiz.system_property in mysql
database as above shown in point 2.
4. I also update the from_address from the preset mailbox to my outlook
mailbox in the moduel Ecommerce
(applications/securityext/data/UserDemoData.xml), although this is not
necessary for now because I am using back-end only.
After a successful reboot of OFBiz, I got the error message shown in the very
beginning.
Can anybody help?
Thanks and have a nice day!
Best Regards
Schumann
+86-1800-150-1800