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 "(e-mail address removed)".

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top