cancel
Showing results for 
Search instead for 
Did you mean: 

Email configuration

Former Member
0 Kudos

I am not able to configure smtp mails in hybris I made changes in local.properties for smtp, I have configured custom email address for from but it's not changing and giving following errors

INFO [TaskExecutor-master-239-ProcessTask [8796781904822]] [DefaultEmailService] Sending Email [8796650346560] To [[ramja@cybage.com]] From [customerservices@hybris.com] Subject [Forgotten Password ] WARN [TaskExecutor-master-239-ProcessTask [8796781904822]] [DefaultEmailService] Could not send e-mail pk [8796650346560] subject [Forgotten Password ] cause: Sending the email to the following server failed : 172.27.172.202:25

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Amit,

Try to run below impex :- insert_update EmailPage;pk[unique=true];fromEmail;fromName; ;pk; xyz@abc.com ;Your service

@PK is the forgot password key

Former Member
0 Kudos

This email id would have updated in EmailPage type . search in your impex files for this entry. customerservices@hybris.com

Former Member
0 Kudos

check in email-content.impex file

Former Member
0 Kudos

Hi vinay, I can't get any configuration in hmc for email for order confirmation or for forgot password, can you please tell me where I get email configuration for that in hmc.

Former Member
0 Kudos

With the above email configuration Email are going for the Hybris5.5

Former Member
0 Kudos

check the email address which you configured in hmc for the job which is triggering for your email

Former Member
0 Kudos

Hi Raghavendra, I made this changes in local.properties but the mail sending from customerservices@hybris.com but I want to send it from xyz@abc.com so can you tell me in which file I want to change. you can check above console log.

raghavendra_desu
Contributor
0 Kudos

The from email is one of the attribute for email page. So when you are creating a email through impex, you should have added it. Please update the impex with your custom mail id and import so that your from email id will be updated.

raghavendra_desu
Contributor
0 Kudos

Hi Amit,

The smtp configuration for google mail which i am using have been pasted below. You can try with this smtp settings.

mail.smtp.server=smtp.googlemail.com mail.smtp.port=587 mail.smtp.user= mail.smtp.password= mail.use.tls=true mail.smtp.starttls.enable=true

If the email is going fine with the above configuration, then it may be the issue with your smtp. Can you please check this once and update.

Regards,

Raghavendra.