473,804 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Launch Outlook express with attachment

Hi,

I want to launch Outlook express with attachment. Any ideas ?

Thanks

Thejus
Nov 16 '05 #1
5 2761
Thejus,

Launching outlook express is the easy part. You can use the Process
class to do this. However, what do you mean by "with attachment". Do you
mean that you want to open a new message dialog with a file attached? If
this is the case, I don't know that you can do it. Assuming that OE is your
default mail browser, you can easily open up the url mailto:<email address>
and it will open up the default mail composer window for the system.

However, getting an attachment on there is a different story, I don't
know that OE provides some sort of automation interface.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Thejus" <th************ *@hotmail.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Hi,

I want to launch Outlook express with attachment. Any ideas ?

Thanks

Thejus

Nov 16 '05 #2
Try this:

using System.Diagnost ics;
string sentEmail = "de**@mydomain. com";
string subject = "I love dotNET";
string body = "This is the message body";
string msg = string.Format( "mailto:{0}?sub ject={1}&body={ 2}", sentEmail ,
subject, body);
Process.Start( msg);

--
Regards,

Jose Luis Manners, MCP

"Thejus" <th************ *@hotmail.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Hi,

I want to launch Outlook express with attachment. Any ideas ?

Thanks

Thejus

Nov 16 '05 #3
Try this:

using System.Diagnost ics;
string sentEmail = "de**@mydomain. com";
string subject = "I love dotNET";
string body = "This is the message body";
string msg = string.Format( "mailto:{0}?sub ject={1}&body={ 2}", sentEmail ,
subject, body);
Process.Start( msg);

--
Regards,

Jose Luis Manners, MCP

"Thejus" <th************ *@hotmail.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Hi,

I want to launch Outlook express with attachment. Any ideas ?

Thanks

Thejus

Nov 16 '05 #4
You've seem to miss the point entirely, why don't you take some time to
actually read what I said and then comment on it.

Thanx,

Thejus

"Jose Luis Manners" <jlmanners(-arroba-)acm.org> wrote in message
news:#$******** ******@TK2MSFTN GP10.phx.gbl...
Try this:

using System.Diagnost ics;
string sentEmail = "de**@mydomain. com";
string subject = "I love dotNET";
string body = "This is the message body";
string msg = string.Format( "mailto:{0}?sub ject={1}&body={ 2}", sentEmail ,
subject, body);
Process.Start( msg);

--
Regards,

Jose Luis Manners, MCP

"Thejus" <th************ *@hotmail.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Hi,

I want to launch Outlook express with attachment. Any ideas ?

Thanks

Thejus


Nov 16 '05 #5
Yes, I missed the point regarding attachments. I apologize.

--
Regars,

Jose Luis Manners, MCP

"Thejus" <th************ *@hotmail.com> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
You've seem to miss the point entirely, why don't you take some time to
actually read what I said and then comment on it.

Thanx,

Thejus

"Jose Luis Manners" <jlmanners(-arroba-)acm.org> wrote in message
news:#$******** ******@TK2MSFTN GP10.phx.gbl...
Try this:

using System.Diagnost ics;
string sentEmail = "de**@mydomain. com";
string subject = "I love dotNET";
string body = "This is the message body";
string msg = string.Format( "mailto:{0}?sub ject={1}&body={ 2}", sentEmail , subject, body);
Process.Start( msg);

--
Regards,

Jose Luis Manners, MCP

"Thejus" <th************ *@hotmail.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Hi,

I want to launch Outlook express with attachment. Any ideas ?

Thanks

Thejus



Nov 16 '05 #6

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

Similar topics

1
1864
by: MLH | last post by:
I'm trying to overcome the pop-up warning issued by Outlook Express when an Access application uses SendObject to mail an attachment (report object converted to an rtf file) to a specified recipient. I regret to give up all the security features of Q330994, but it seems that I have no choice. Like pork barrel politics, there are things I want and things I don't want in the patch. Any past experiences - please share them. Here are some...
12
4739
by: Arno R | last post by:
Hi all, This is a repost of a message posted at october 6. The answer I got was about MapiMessages.AttachmentIndex. I think I need the MSMAPI32.OCX to use this. (I don't have this file on my PC) My newsaccount wasn't working anymore until yesterday, so I'll try again. Question is: I know it is possible to send email with Access, but can one also automate the attachments?
5
7467
by: Randy Harris | last post by:
I'm using the CreateObject method to send email from Access. Set objOutlook = CreateObject("Outlook.Application") This, of course, launches Outlook to send the message. Anyone know if there is a way to do the same sort of thing but have it launch Outlook Express instead of Outlook?
8
1912
by: pieterc | last post by:
He everbody, I came across a positng dated 2001 about the above. I copied the code Hans De Schrijver posted at that time but I need more help. I need to create a different reports for each recipient and e-mail the report as an attachment via Outlook Express. I do not know if the code that was published, cater to read the recipients
3
2598
by: Prakash Wadhwani | last post by:
Hi !! I have been browsing around but have not been able to find a simple, lucid solution ... or maybe I'm just too confused. I know this has been asked before by many ... but pls bear with me. Step 1: I want to place a button which outputs my report as a snapshot to a specific folder. What is he VBA code to acomplish this ? Step2: I want to place a button which emails the above generated report using
1
417
by: Thejus | last post by:
Hi, I want to launch Outlook express with a file attached. The file can be of type *.xls/*.txt/*.doc. I have the application with Outlook, but I want it for Outlook Express. Which COM I will have to add. The "mailto:" component do not have a provision for attaching file(as far as I know). If it has pls let me know. Any ideas ?
1
1592
by: vijay | last post by:
Hi, How can i launch outlook express6.0 with attachment from c# application ? Thanks in advance, vijay
1
10429
by: handokowidjaja | last post by:
Hi All, Several weeks ago i started a topic with the same subject, however the solutions provided was for using MS Outlook (fullblown version). I finally found something that works directly with Outlook Express, however i dont know how to attach any document using the below code. If anybody knows how to do it, please help me to modify the below code and provide some sample on how to use it. Thanks in advance.
3
2191
by: sbettadpur | last post by:
hello I designed a web application using php and mysql for this i need to extract mail attachment from outlook express (specifically .doc files) for this is there any API's or any class or any library in php or in .NET. I downloaded several desk application which are extracting attachment from outlook express, using this i cannot integrate to my application( i.e web application). So let me know is there any solution for my problem. ...
0
9595
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10604
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10354
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10101
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9177
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6870
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3837
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3005
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.