Best way to send email via outlook 2k3

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Hi,

I have a C# application. In part of it, users can define distribution
lists, which is basically an email group.

To actually send the email, I've been using Process.Start with a
mailto: link. This works fine for single email addresses, but when
trying the same method for large lists, it doesn't work.

I'm not sure that is the best way to go anyway..

All I want to do is get outlook to open a new email window and set the
To or possibly BCC addresses automatically. The user can enter the
rest.

Any suggestions?

Thanks
Andy
 
To actually send the email, I've been using Process.Start with a
mailto: link. This works fine for single email addresses, but when
trying the same method for large lists, it doesn't work.

I'm not sure that is the best way to go anyway..

All I want to do is get outlook to open a new email window and set the
To or possibly BCC addresses automatically. The user can enter the
rest.

Outlook has a COM object which you can program against. Also take a look at
Microsoft's Office Interops (not sure if Outlook is a part of those
interops).

More info on the com object can be found here:

http://www.outlookcode.com/d/outtech.htm

If you're going to send large amount of emails - you might be better off
using System.net.mail classes or a 3rd party e-mail software.
 
Spam said:
Outlook has a COM object which you can program against. Also take a look at
Microsoft's Office Interops (not sure if Outlook is a part of those
interops).

More info on the com object can be found here:

http://www.outlookcode.com/d/outtech.htm

If you're going to send large amount of emails - you might be better off
using System.net.mail classes or a 3rd party e-mail software.

Thanks for the tip. I did program against the COM objects, but they
seemed to be a way to programatically send email... I didn't find any
way to cause outlook to open a New email window.

I don't want to use System.Net.Mail because I don't want to re-invent
the wheel; outlook already has a decent email composition system, and I
don't think my time would be well spent copying that functionality.
 

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

Back
Top