SMTP Mail Active Directory Group

Kc_NirvanaKc_Nirvana Member Posts: 146
Hello...
It is possible to send mails from CU400 SMTPMail to a group in Active Directory?

Thanks in advance
Junior Consultant & Developer in Dynamics NAV

"I'm worse at what I do best
And for this gift I feel blessed
Our little group has always been
And always will until the end"

Nirvana - Nevermind - Smells Like Teen Spirit

Answers

  • JamieHurstJamieHurst Member Posts: 25
    You can definitely email to an AD distribution list. Basically any email address that works through your email client (i.e. Outlook) should work through cu 400. Not sure if that quite answers your question.
  • Kc_NirvanaKc_Nirvana Member Posts: 146
    But it isn't an email.
    It's a group like DE INTERCONNECT
    Junior Consultant & Developer in Dynamics NAV

    "I'm worse at what I do best
    And for this gift I feel blessed
    Our little group has always been
    And always will until the end"

    Nirvana - Nevermind - Smells Like Teen Spirit
  • JamieHurstJamieHurst Member Posts: 25
    Kc_Nirvana wrote:
    But it isn't an email.
    It's a group like DE INTERCONNECT
    Since Microsoft only allows you to email to Distribution Groups and not Security Groups, you could create a Distribution Group in Active Directory (say, "DeInterconnect") with the single "DE INTERCONNECT" Security Group as it's "member". I haven't tried assigning a Security Group to a Distribution Group, but I think it'll work. If so, you won't have to bother with defining the individual members of the Distribution Group or maintaining the list going forward. More on these two types of AD groups, here.

    Otherwise, it's a hard road. You'd need a routine that returns the email addresses of the users assigned to the "DE INTERCONNECT" Security Group. C/Side doesn't have a way to do this, but I imagine there'd be a way to call a custom .net function that passes these addresses back to C/Side, so you can email them via cu 400.
  • Kc_NirvanaKc_Nirvana Member Posts: 146
    I've solved with a creation of a mail which fowards all emais to the group.
    Thank you all
    Junior Consultant & Developer in Dynamics NAV

    "I'm worse at what I do best
    And for this gift I feel blessed
    Our little group has always been
    And always will until the end"

    Nirvana - Nevermind - Smells Like Teen Spirit
Sign In or Register to comment.