cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP Mail Service Issue -Mail not going through but no error in logs/console

Former Member
0 Kudos

In Storefront, "Forgotten Your Password " link, when I enter the Email Id, the mail is not sent to that mail ID and also no error is generated in the console.

The console:

 INFO  [TaskExecutor-master-899-ProcessTask [8796159411126]] [GenerateEmailAction] Email message generated
 INFO  [TaskExecutor-master-899-ProcessTask [8796159411126]] [ProcessengineTaskRunner] Reading task logs from /applic/hybris/temp/bpm_process_forgottenPassword-amalik@ymail.com-1422883656929_generateForgottenPasswordEmail_899_1422883656968.log
  [TaskExecutor-master-900-ProcessTask [8796159443894]] [DefaultEmailService] Sending Email [8796093290560] To [[amalik@ymail.com] From [customerservices@hybris.com] Subject [Forgotten Password
 ]
 INFO  [TaskExecutor-master-900-ProcessTask [8796159443894]] [ProcessengineTaskRunner] Reading task logs from /applic/hybris/temp/bpm_process_forgottenPassword-amalik@ymail.com-1422883656929_sendEmail_900_1422883657017.log
 INFO  [TaskExecutor-master-901-ProcessTask [8796159476662]] [ProcessengineTaskRunner] Reading task logs from /applic/hybris/temp/bpm_process_forgottenPassword-amalik@ymail.com-1422883656929_removeSentEmail_901_1422883657097.log

Also, I am unable to locate the .log file in the location specified

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Maxim, Thanks for the reply!

In Admin Cockpit, I am getting "Sent" as "NO". But the SMTP configuration is correct. I able to send a mail with same configurations in other java program.

Also, in the body preview, the url getting generated for password reset is a simple url without any Token attached

Former Member
0 Kudos

I am also having the same issue. Able to sent from a java program but sending from hybris does not work. logs do not show any errors. Please help if you have solved this.

Former Member
0 Kudos

Here is a wonderful tool to use as a local SMTP: http://mailcatcher.me/

Former Member
0 Kudos

Hello,

This means your SMTP server is not configured. When hybris is not able to send an email in this case it saves it to data base.

You can check an email that was send following this instructions: 1) Go to http://localhost:9001/admincockpit 2) Search for EmailMessage (left navigation search, not browser area) 3) In center (browser) area you will see all messages that were generated but not send by some reason. In your case it can be SMTP server. 4)Find your message by date and double click 5) In right section you will see "body" with html of your email, copy it and open in browser

The other way is to configure local SMTP server, have a look: https://wiki.hybris.com/display/tr52/Trail+~+CronJobs#Trail~CronJobs-SettingupeMailwithgmail

Thanks

Former Member
0 Kudos

some how i do not see any mail message in the admin cockpit. And i dod not see any errors on the console also.