Hey guys i'm trying to figure out how to open a new message window from outlook when i click a button on my form any help greatly aprreciated thanks.
penguin22
0
Light Poster
Recommended Answers
Jump to PostTry the following:
Application objOutlook = new ApplicationClass(); NameSpace objNS = objOutlook.GetNamespace("MAPI"); MailItem objmail = (MailItem)objOutlook.CreateItem(OlItemType.olMailItem); objmail.To = "sample.email@domain.com; objmail.BCC = "bcc@domain.com"; objmail.CC = "cc@domain.com"; objmail.Subject = "Subject of the email goes here"; objmail.Body = "Body of the email goes here...";
You dont have to use all …
All 4 Replies
jatin24
21
Junior Poster in Training
sknake
1,622
Senior Poster
Featured Poster
mishra1213
-2
Newbie Poster
nmaillet
commented:
Please don't bump a 3 year old thread. Start your own if you have a question.
-2
Ketsuekiame
860
Master Poster
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.