Globals Variables to sending Email notification (list of emails) #1942

Closed
ltamaster opened this Issue Jul 8, 2016 · 0 comments

Projects

None yet

2 participants

@ltamaster
Contributor

Using global variables to set a list of mails on a job's notification fail using multiples values.
it works with a single address; but with multiples values I got this error:

2016-07-05 15:11:05,112 [quartzScheduler_Worker-4] ERROR services.NotificationService - Error sending notification email to "mail1@mail.cl,mail2@mail.cl" for Execution 12097: Failed messages: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 501 Syntax error in the forward path

2016-07-05 15:13:22,427 [quartzScheduler_Worker-5] ERROR services.NotificationService - Error sending notification email to "mail1@mail.cl,mail2@mail.cl" for Execution 12098: Failed messages: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 501 Syntax error in the forward path

The rundeck version is 2.6.7-1

@gschueler gschueler added the bug label Jul 11, 2016
@gschueler gschueler self-assigned this Jul 12, 2016
@gschueler gschueler modified the milestone: 2.6.9 Jul 12, 2016
@gschueler gschueler closed this in 8e35dff Jul 12, 2016
@gschueler gschueler removed the in progress label Jul 12, 2016
@variacode95 variacode95 pushed a commit to variacode95/rundeck that referenced this issue Jul 20, 2016
@gschueler @parth-kloudscript gschueler + parth-kloudscript fix #1942 expand email destination vars earlier d60ce1d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment