473,503 Members | 1,694 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# MAPIPDL

I setup an Exchange Distribuition List containing external e-mail addresses;
non-exchange users and asked my developer to send e-mail to it from his app.
He said he cannot using C# and that he can only send via SMTP which cannot
utilize my Distribution List. Is there any way to accomplish what I want to
do?
Nov 17 '05 #1
2 1934
IIRC, he can just send mail to the distro list name (like any other account)
and Exchange handles the distro to the members.
--
wjs

"jcurcurato" <jc********@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
I setup an Exchange Distribuition List containing external e-mail
addresses;
non-exchange users and asked my developer to send e-mail to it from his
app.
He said he cannot using C# and that he can only send via SMTP which cannot
utilize my Distribution List. Is there any way to accomplish what I want
to
do?

Nov 17 '05 #2
Well, it didn't for us (the reason for my post). Following is the bulk of
the code used to accomplish e-mail. We are able to send mail via SMTP to an
address (e.g. yo*@microsoft.com) and to a distribution list in Global Address
List but when we try a Distribution List that was created in a shared contact
list, it does not resolve the name:

MailMessage MyMail = new MailMessage();

MyMail.To = this.textBox1.Text;

MyMail.From = this.textBox2.Text;

MyMail.Cc = this.textBox3.Text;

MyMail.Bcc = this.textBox4.Text;

MyMail.Subject = this.textBox5.Text + " From " +
this.textBox7.Text;

MyMail.Body = this.textBox6.Text;

SmtpMail.SmtpServer = this.textBox7.Text;

SmtpMail.Send(MyMail);
"William Stacey" wrote:
IIRC, he can just send mail to the distro list name (like any other account)
and Exchange handles the distro to the members.
--
wjs

"jcurcurato" <jc********@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
I setup an Exchange Distribuition List containing external e-mail
addresses;
non-exchange users and asked my developer to send e-mail to it from his
app.
He said he cannot using C# and that he can only send via SMTP which cannot
utilize my Distribution List. Is there any way to accomplish what I want
to
do?


Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1818
by: =?Utf-8?B?bXVlbGxlNjA=?= | last post by:
Hello, I want to send an email like this: MailMessage mailMessage = new MailMessage(); mailMessage.To = "My DL"; mailMessage.Subject = "Hello From DL"; SmtpMail.SmtpServer =...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1512
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.