473,765 Members | 2,021 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How about: How do I attach a file to an email w/MailTo: ?

cj
What's the parameter (like ?attachment) or something.
May 1 '06 #1
12 2781
"cj" <cj@nospam.nosp am> schrieb:
What's the parameter (like ?attachment) or something.


There is no standardized way to add an attachment via a 'mailto' link and
most mail clients do not support adding addachment this way at all.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

May 1 '06 #2
cj
So when in explorer when you click a .jpg file and then click send to
mail recipient how do they start a new message in my default email
client and attach the image?

Herfried K. Wagner [MVP] wrote:
"cj" <cj@nospam.nosp am> schrieb:
What's the parameter (like ?attachment) or something.


There is no standardized way to add an attachment via a 'mailto' link
and most mail clients do not support adding addachment this way at all.

May 1 '06 #3
sendto is a special windows folder.

just because it's POSSIBLE to make a web browser stand on it's head and
say the alphabet backwards; does that mean that you can do it?

May 1 '06 #4
Hi Cj,

I agree with Herfried, as for web page based application, cilent side
functionality is quite restricted, we can not do much like desktop
application. Also, "mailto" is a querystring like feature which can not
hold large binary data for attachement.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 2 '06 #5
Steven,

cj, myself and others have asked the question:

"So when in explorer when you click a .jpg file and then click send to
mail recipient how do they start a new message in my default email
client and attach the image?"

Or in other words, how does one, using vb.Net, open the user's default
mail client with an email attachment? Windows Explorer does it using
the SendTo Mail Recipient. Is there a way to do that in .Net?

--
Al Reid
"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message news:56******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Cj,

I agree with Herfried, as for web page based application, cilent side
functionality is quite restricted, we can not do much like desktop
application. Also, "mailto" is a querystring like feature which can not
hold large binary data for attachement.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 2 '06 #6
cj
There's gotta be a way. In Windows Explorer I can click a .jpg file and
send to mail recipient and it works with Outlook Express, Outlook, and
Thunderbird. I'm using VB .net 2003 and writing a Windows App. From
searching for the answer to dealing with email on the web I see many
people want to know but so far I haven't found the answer.

Al Reid wrote:
Steven,

cj, myself and others have asked the question:

"So when in explorer when you click a .jpg file and then click send to
mail recipient how do they start a new message in my default email
client and attach the image?"

Or in other words, how does one, using vb.Net, open the user's default
mail client with an email attachment? Windows Explorer does it using
the SendTo Mail Recipient. Is there a way to do that in .Net?

--
Al Reid
"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message news:56******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Cj,

I agree with Herfried, as for web page based application, cilent side
functionality is quite restricted, we can not do much like desktop
application. Also, "mailto" is a querystring like feature which can not
hold large binary data for attachement.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


May 2 '06 #7
cj
Oh, I should have said, they might not be doing this with mailto:

I don't care how it's done as long as I can do it.

cj wrote:
There's gotta be a way. In Windows Explorer I can click a .jpg file and
send to mail recipient and it works with Outlook Express, Outlook, and
Thunderbird. I'm using VB .net 2003 and writing a Windows App. From
searching for the answer to dealing with email on the web I see many
people want to know but so far I haven't found the answer.

Al Reid wrote:
Steven,

cj, myself and others have asked the question:

"So when in explorer when you click a .jpg file and then click send to
mail recipient how do they start a new message in my default email
client and attach the image?"

Or in other words, how does one, using vb.Net, open the user's default
mail client with an email attachment? Windows Explorer does it using
the SendTo Mail Recipient. Is there a way to do that in .Net?

--
Al Reid
"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:56******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Cj,

I agree with Herfried, as for web page based application, cilent side
functionality is quite restricted, we can not do much like desktop
application. Also, "mailto" is a querystring like feature which can not
hold large binary data for attachement.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


May 2 '06 #8
cj,

I tried an approach using mailto: and SendKeys, but it didn't work with all mail clients, not even with Outlook and Outlook Express.
I ended up using the MAPI controls from VB6 to do it. It would seem that there would be a simple .Net way to launch a mail client
with a file attached.

--
Al Reid

"cj" <cj@nospam.nosp am> wrote in message news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Oh, I should have said, they might not be doing this with mailto:

I don't care how it's done as long as I can do it.

cj wrote:
There's gotta be a way. In Windows Explorer I can click a .jpg file and
send to mail recipient and it works with Outlook Express, Outlook, and
Thunderbird. I'm using VB .net 2003 and writing a Windows App. From
searching for the answer to dealing with email on the web I see many
people want to know but so far I haven't found the answer.

Al Reid wrote:
Steven,

cj, myself and others have asked the question:

"So when in explorer when you click a .jpg file and then click send to
mail recipient how do they start a new message in my default email
client and attach the image?"

Or in other words, how does one, using vb.Net, open the user's default
mail client with an email attachment? Windows Explorer does it using
the SendTo Mail Recipient. Is there a way to do that in .Net?

--
Al Reid
"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:56******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Cj,

I agree with Herfried, as for web page based application, cilent side
functionality is quite restricted, we can not do much like desktop
application. Also, "mailto" is a querystring like feature which can not
hold large binary data for attachement.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 2 '06 #9
Al,

Those others you mention are probably thousands.

It is one of the most asked questions in these dotNet newsgroups. The answer
is in a way as Herfried wrote it.

This is not something Microsoft can handle. It has to do with the first
designs of the mail clients.

If it is not about the "default" mail client than there are solutions by
using Mapi's. But than it is not default mail client anymore.

Cor

"Al Reid" <ar*****@reidDA SHhome.com> schreef in bericht
news:u6******** ******@TK2MSFTN GP02.phx.gbl...
Steven,

cj, myself and others have asked the question:

"So when in explorer when you click a .jpg file and then click send to
mail recipient how do they start a new message in my default email
client and attach the image?"

Or in other words, how does one, using vb.Net, open the user's default
mail client with an email attachment? Windows Explorer does it using
the SendTo Mail Recipient. Is there a way to do that in .Net?

--
Al Reid
"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:56******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Cj,

I agree with Herfried, as for web page based application, cilent side
functionality is quite restricted, we can not do much like desktop
application. Also, "mailto" is a querystring like feature which can not
hold large binary data for attachement.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


May 2 '06 #10

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

Similar topics

15
3724
by: tabonni | last post by:
Hi I try to grab the checked files from HTML page and then send those PDF files as attachments. It can just send email, there are no PDF files attached. Can anybody point out my error? My idea is: When people check the check boxes in HTML page for the PDF files, it will transfer the files' name to ASP page. Then, it will attach it in the email.
88
12549
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
4
6263
by: nonamehkg | last post by:
Hi, I am writing a simple program that sends emails with attachments. I could use "MIMEImage" for .png and then attach it to an "MIMEMultipart" object. But I couldn't or don't know how to attachment a .pdf or something else to my emails. I'm new to python, could somebody help me about that? Thank You,
6
2534
by: a | last post by:
What is the best way to construct an email in python and also attach a html file the html file to be attached is not on disk, but should be dynamically constructed in the python script I want to attach the django debug error to an email and mail it to myself whenever there is an error in the application thanks a lot
2
7830
by: calebmichaud | last post by:
Hi I am having trouble understanding how to attach a file or files to a record. I want to (in form view0 allow the user to attach one or more than one file to the associated record, and then from then have the link displayed on the form. All the files would be displayed on the computers harddrive (or a network folder) and not in the db itself. I have read and reread http://www.mvps.org/access/api/api0001.htm and understand that i...
5
1981
by: bimeldip | last post by:
Hi, I an tryin to create a html page where users can choose a file and open it however, i keep getting it wrong.So far this is wat i've worked on: (open.html) <html> <head> <title>Opening file</title> </head> <body> <form action="display.php" method="POST"> Please choose a file: <input name="saved" type="file" /><br />
7
2734
by: RRsonawane11 | last post by:
Hello, Can anyone know how to write asp code to attach one file and email it to a specified email address. The attach file is the client choose from their Local Harddisk, just like we using yahoo mail or hotmail , allow us to attach file and sent it.
14
2333
by: sreemathy2000 | last post by:
My requirement is to generate and attach a file and send in an email automatically. i have a existing functionality where i using the code below to write a CSV file in my local system. StreamWriter sw = File.CreateText(fileName) sw.Write(m_Model.Csv); the new functionality is to attach the file to email and send automatically. i cannot store in some path and attach since access issues might come later. Is there any other way to...
9
7811
by: dpatel75 | last post by:
I am trying to copy a database from a SQL 2000 SP3 Windows 2000 server to a 2005 SP2 Windows 2003 server. I am trying to use detach and attach method (have tried both within Management Studio and T-SQL) and experience an error when attaching to the 2005 server: "CREATE FILE encountered operating system error 5 (error not found) while attempting to open or create the physical file 'xxxxxxxxxxxx' (Microsoft SQL Server, Error: 5123)" I have...
0
10164
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
10007
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...
1
9959
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8833
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
5277
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...
0
5423
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3926
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3532
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2806
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.