Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sending E-Mail using Outlook with multiple attatchments in C#

0 views
Skip to first unread message

AR

unread,
Dec 16, 2009, 1:38:02 PM12/16/09
to
I am a newbie in C# but have experience in other OO languages. I want to
write a COM component in C# that I can reuse in a application that we are
developing in Powerbuilder. The COM should have the ability to:
1) Open a Outlook window. When the user enters any e-mails, the outlook
should validate for the right adress using the company directory. (I guess We
dont have to code for this. Outlook can do this)
2)The Outlook window should be populated with attatchements of all the files
from a directory. The directory will be specified by the user @ runtime.
3) The user will inout the e-mail ids & will send the e-mail with the
attatchements that are populated from the directory specified.

Any clues will be greatly appreciated.

Mark Rae [MVP]

unread,
Dec 16, 2009, 6:46:41 PM12/16/09
to
"AR" <A...@discussions.microsoft.com> wrote in message
news:8B37EB74-BC27-4C84...@microsoft.com...

> Any clues will be greatly appreciated.

Firstly, do you *absolutely* have to include Outlook in this? Everything you
need to do can be done easily without it:
http://www.systemnetmail.com/

Secondly, creating an assembly in C# and making it visible to COM is also
extremely simple:
http://msdn.microsoft.com/en-us/library/c3fd4a20.aspx


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

0 new messages