Unable to send e-mail to distributed list (email group) using Send email Step

Document ID : KB000006986
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

I am using "Send email step" in test case to send email to the users. When I use single email address, we are able to send an email from test case and user is getting an email. But, when we use email address of distribution list, unable to receive emails.

Cause:

    When sending an email through "send email step" or any java code using smtp details, mail server is validating user details and then sending email to the user. When we give email address of distribution list, it is not able to identify the email address and getting an error while sending email.

Resolution:

Add all email addresses within the distribution email list to a property defined in project.config file and use the property in To address field.