sending SMTP email in C# to groups

I

IGD

I don't know if this is the right place to post this or not. If not,
could someone direct me elsewhere where I would find more information
on how to solve my problem? Thanks!

My problem is this: I am writing an application for work. This
application sends a basic html email via SMTP to a group. In this
group are individual people's emails, but also about 5 other groups.
The problem is that the email is only getting received by (or sent
to?) the individual people, not the other groups.

Situation:

toAddress (MAIN GROUP)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)
(e-mail address removed)

The email is getting sent only to the (e-mail address removed), not the
people inside the (e-mail address removed) adresses.

My original thought was that permissions were the problem, but all the
groups have permissions to receive emails.

Any ideas? Thank you!
 
C

Cowboy \(Gregory A. Beamer\)

It can depend on how the groups are set up. At times, groups are a virtual
set up that works to simplify things on the client end and are not an email
address, per se. In these case, the client allows you to type in the alias,
but converts it to individual addresses behind the scenes. If your groups
are set up this way, you will have to programatically access the server as a
client to do what you want.

Another way of setting up addresses are as form of public "alias" where the
server decides whom to send mail to when the address is hit. This is more
rules based in nature and will work the way you are expecting.

I would talk to the person in charge of mail at the organization and see how
groups are set up. It is possible you are seeing groups on your outlook
client and assuming they are really an address, rather than a "virtual
alias" (the first type, while you think they are the second type - described
above). If so, your idea of sending mail to that single address and having
it disseminated will never work.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 
I

IGD

It can depend on how the groups are set up. At times, groups are a virtual
set up that works to simplify things on the client end and are not an email
address, per se. In these case, the client allows you to type in the alias,
but converts it to individual addresses behind the scenes. If your groups
are set up this way, you will have to programatically access the server asa
client to do what you want.

Another way of setting up addresses are as form of public "alias" where the
server decides whom to send mail to when the address is hit. This is more
rules based in nature and will work the way you are expecting.

I would talk to the person in charge of mail at the organization and see how
groups are set up. It is possible you are seeing groups on your outlook
client and assuming they are really an address, rather than a "virtual
alias" (the first type, while you think they are the second type - described
above). If so, your idea of sending mail to that single address and having
it disseminated will never work.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my bloghttp://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|









- Show quoted text -

Alright, they are aliases of some sort, but I don't know what kind.
There are many email addresses for people inside each group. Is there
a way to automatically expand the groups and send the email to those
addresses?
 
I

IGD

Alright, they are aliases of some sort, but I don't know what kind.
There are many email addresses for people inside each group. Is there
a way to automatically expand the groups and send the email to those
addresses?

I just found out they are Active Directory groups, if that helps at
all.

Thanks!
 

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