Hi Suraj,
Following this, add to your rundeck-config.properties file the SMTP conf as follow:
# e-mail notification settings
grails.mail.host=your_smpt_host
grails.mail.port=25
grails.mail.username=your_username
grails.mail.password=your_password
Then, restart the rundeck service.
Here you have a good example to start.
But if you need to use a Google/Outlooks SMTP service, create a rundeck-config.groovy file (at /rundeck path) with Gmail server configuration (only the email configuration) like this:
grails {
mail {
host = "smtp.gmail.com"
username = "user...@gmail.com"
port = 587
password = "example"
props = ["mail.smtp.starttls.enable":"true","mail.smtp.auth":"true","mail.smtp.socketFactory.port":"587","mail.smtp.socketFactory.fallback":"false"]
}
}
grails.mail.default.from = "user...@gmail.com"
And then restart the rundeck service.
The main reason for this is that the .config file by design doesn’t support extended features by external providers like Gmail or office365. Check this.
Now you can use email notifications on your jobs.
Hope it helps!
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/b19d5fe1-db59-4952-b11b-a808e224973cn%40googlegroups.com.