Sending to Distribution lists using SMTP server

N

NateDawg

Anyone know how this can be done? I've written a simple VB6 app (NOT
USING NET!) to send emails, but I want to be able to add a
distribution list name instead of individual email addresses.

However, if I were to call the distrib list "TestDistrib", then I see
my mailer program trying to send out to "[email protected]".

I know that's not right!

Can I only send distrib lists to a MAPI client?

Thx
 
S

Sue Mosher [MVP-Outlook]

If the DL name is an Exchange GAL DL, in which case you can use the DL's
SMTP address. Otherwise, you'll need to use Outlook methods to deconstruct
the personal DL to send to individual members. In other words, Outlook, not
MAPI.
 
D

Dmitry Streblechenko \(MVP\)

If an Exchange DL has an SMTP address, it really does not matter that you
are sending to a DL - it is just an SMTP address no different from other
addresses.
DLs in Outlook are client side - when a message is sent, Outlook recursively
expands the DL since the outside world knows nothing about your private DLs.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Top