Tutorials
Resources
Forum
Reviews
Communities
Interview
Jobs
Projects
Training
Your
Ad
Here
Silverlight Games
|
Mentor
|
Code Converter
|
Articles
|
Code Factory
|
Computer Jokes
|
Members
|
Peer Appraisal
|
IT Companies
|
Bookmarks
|
Polls
|
Revenue Sharing
|
Lobby
|
Gift Shop
|
Prizes & Awards
My Profile
Sign In
Register
AdSense Revenue
Active Members
Today
Alwyn
(200)
Asheej T K
(125)
Avinash Mohan
(90)
Last 7 Days
Alwyn
(938)
Asheej T K
(548)
nishithraj
(525)
more...
Forums
»
.NET
»
JavaScript
»
outlook Attachment using java script mailto function???
Posted Date:
28 Nov 2008
Posted By:
Abhishek Namdeo
Member Level:
Silver
Points
: 1
Responses:
1
HI lalitha
I removed the quoted " . It is opening the outlook window , but without attachment
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<script type="text/javascript" language="javascript">
function OpenMail()
{
location.href = 'mailto:abhishek@gmail.com?attachment=D:\\a.txt ';
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" onClientclick="OpenMail()" Text="Button" />
</div>
</form>
</body>
</html>
Responses
Author:
lalitha
28 Nov 2008
Member Level:
Gold
Rating:
Points
: 6
Hey I guess we can't send attachements through Mailto method . Try mailmessage
http://msdn.microsoft.com/en-us/library/aa767737.aspx
read this for clarification
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Next :
send mail :::Java script mailto function with attachment
Previous :
java script validation
Return to Discussion Forum
Post New Message
Category:
JavaScript
Related Messages
how to validate the checkedlistbox thru javascript
It is possible vbscript and javasript in same page
how to run sql before window is closed. URGENT. HELP!
assigning a value to label from javascript
reset a fileupload
dotNet Slackers
About Us
Contact Us
Privacy Policy
Terms Of Use