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

Using the - System.Diagnostics.Process.Start procedure

186 views
Skip to first unread message

JimJob

unread,
Jan 4, 2008, 6:39:02 AM1/4/08
to
Hi All,

I am using c# to build an application. I want to open a new mail message
with an attachment. The new mail message works but I can't get the
attachment to work - there is no error message just no attachment. Any
ideas? Code i am using is;

System.Diagnostics.Process.Start("mailto:em...@email.com?subject=Software&body=see attachment&attachment=c:/myview.mht");

Thanks

Ken Slovak - [MVP - Outlook]

unread,
Jan 4, 2008, 9:45:38 AM1/4/08
to
Programming questions are best asked in a programming group.

Take a look at http://msdn2.microsoft.com/en-us/library/aa767737.aspx, where
do you see a keyword for attachment? To add an attachment you'd have to use
Outlook automation code using the Outlook object model or some other method
than mailto.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"JimJob" <Jim...@discussions.microsoft.com> wrote in message
news:26238752-E65E-481E...@microsoft.com...

0 new messages