I have edited gerrits config file with the required SMTP details:
[sendemail]
enable = true
smtpServer = smtp.server.com
smtpServerPort = 25
But the thing is, the details somehow don't work upon gerrit but the same values do work upon Jenkins.
There really isnt helpful documentation out there wrt to Gerrit. I even tried to configure the server side of settings for projects config file with:
[access]
inheritFrom = All-Projects
[submit]
action = inherit
[access "refs/*"]
owner = blah blah blah
[notify "Administrators"]
email = blah@blahblahblah.com
I tried looking into error logs as well but NOTHING. Any pointers would be really helpful for me.