473,320 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Best way to send email via outlook 2k3

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

Nov 13 '06 #1
2 5852
"Andy" <an***@med-associates.comwrote in news:1163449468.420595.91320
@f16g2000cwb.googlegroups.com:
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.
Nov 13 '06 #2
Spam Catcher wrote:
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.

Nov 13 '06 #3

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

Similar topics

11
by: Google Mike | last post by:
I've got RH9 Linux with default PHP. Is there a way to send email on Linux to an Exchange Server from PHP and/or other tools when there is *NOT* SMTP access? Has anyone figured out a way to...
0
by: Akira | last post by:
Could someone tell me how to send outlook appointment email from asp page? I would like appointment email just like one outlook can send out. I tried to look for an answer for this, but it seems...
1
by: Jay McGrath | last post by:
Help - trying to send a simple text email with with as little user intervention. I am trying to create a button in my Access application that will automatically send a simple text email. It...
3
by: Max | last post by:
When you send an email programatically throgh Microsoft Outlook it goes into the Outbox and stays there. I have an application that opens the email window and allows the user to type a message and...
1
by: Michele | last post by:
Hi, I need to send the same Email to different people. I'm using Outlook XP and VB.Net. I tryed with the following code: Dim oOutL As Outlook.Application Dim oMail As Outlook._MailItem oOutL...
8
by: John Brock | last post by:
I am currently using a VB.NET program to send out e-mails with plain text bodies (plus one attachment). The emails are being received as Rich Text messages (probably just my personal Outlook...
13
by: BK | last post by:
Our .Net team has just inherited a junior programmer that we need to get up to speed as quickly as possible. Unfortunately, his skill set is largely Access with some VB6 and ASP classic...
9
by: Mahernoz | last post by:
Can i send an email from JavaScript? Is it possible? If yes please the code to send email using javascript...
1
by: sxwend | last post by:
I am trying to use the following post results (http://www.thescripts.com/forum/thread189759.html) and add another requirement. I need to send the results to just the email addresses that the query...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.