Email to Distribution List

I am using email step in deployment process. I want to send to a DL (Distribution list). I put the distribution list name in the To field, but it is not working. I put all the email list in the variable with comma separated and the variable in the To field, did not work either. In both cases I am getting the following error.
The specified string is not in the form required for an e-mail address.

Any idea? please note the DL starts with #. e.g. #Release Group

Hi @endashaw.adane,

Thanks for reaching out.

You actually can’t send out to a distribution list. Your options would be to put all of the emails in a comma-separated format in the To field, like email@address.com,email2@address.com,email3@address.com
Or, to do the same in a variable. Your #Release Group is likely causing the issue as it has to only be the email addresses.

Alternatively, you could choose to email an Octopus Team, which you could setup to be the same addresses as the Distribution List.

Please let me know if that helps.

Thanks,
Jeremy

Hi @jeremy.miller
Thanks as usual!

1 Like

You’re very welcome! I hope you have a great rest of your week.

Best,
Jeremy

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.