Hi,
I'm trying to send emails to a distribution list but it doesnt work. However, When I send emails to individual emails it works fine. Is there a configuration that I need to be checking or enable?
I'm doing it within a Business Operation:
Set SendList="grouplist@email.com, eric@email.com" f a1=1:1:$l(SendList,",") s ToAdd=$p(SendList,",",a1) d .Set Mailer = ##CLASS(%Net.SMTP).%New() .Set Mailer.smtpserver = "10.xx.200.000" .Set Msg = ##class(%Net.MailMessage).%New() .Set Msg.From="manager@email.com .Do Msg.To.Insert(ToAdd) .Set Msg.Subject = "Sample Email to distribution list" .





