Last post May 21, 2010 10:27 AM by Rosy1
Nov 03, 2006 11:49 AM|pkd|LINK
We're building a page, where the user will fill in certain information, such as their email, some comments and require them to attach a file. Then the user will hit a button which will cause outlook to open with the values filled in and attachement there
as well. Is there a way to do this, to fire up outlook and get the values and attachment in? Is there a way to do this using mailto (including attachment) incase they do not use outlook, as right now the client keeps saying they only want outlook, but they're
not 100% sure.
Nov 03, 2006 03:34 PM|jose_jimenez|LINK
There is not a way to attach files to an outlook session using a link.
See this discussion of the mailto syntax
Have you considered sending the email from the server?
Apr 26, 2007 01:11 AM|engjyoti|LINK
I want to open outlook window to send a mail in ASP.NET programming. Please help me if anybody can.
please show me the code if anybody can give.
Apr 26, 2007 01:00 PM|shelbygt22|LINK
Apr 26, 2007 01:02 PM|shelbygt22|LINK
Apr 26, 2007 10:08 PM|jose_jimenez|LINK
If you want to send an email from code use the
system.net.mail namespace and the methods / objects there. Otherwise use the mailto href as I described earlier.
Jul 04, 2007 05:40 AM|rankief|LINK
im having the same problem.
users are required to fill in all data in the web form, and when a button is clicked, it will store all data in the db and as well as open client's outlook with all fields filled in.
the reason i wanted to do this is to keep a copy in the sent item.
my question is, if im using asp.net to send email through an exchange server, will the client's outlook have a copy in his sent folder??
thanks in advance
Jul 04, 2007 04:28 PM|jose_jimenez|LINK
No, the client isn't actually sending the email, so they will not have a sent item in their exchange folder. You can BCC them, or have a specific mailbox set up to send copies to.
Jul 11, 2007 03:37 AM|rankief|LINK
Hi, so you mean that there is no possible way to use the xchange server to send email promatically and when the client open up their outlook, they will be able to download the sent items into their sent mails foldeR?
Jul 13, 2007 06:59 PM|jose_jimenez|LINK
I won't say there is no possible way. There is a discussion among microsofties that discusses
using webdav to send an email and copy it to a specific folder.
It essentially requires that your exchange server have a web interface. You use httprequests to post data to an exchange page for the user.
Start at the top and keep reading.
Jan 21, 2009 11:21 AM|satish.karlapudi|LINK
Thank you for you help.
Can you help me in just opening(not sending ) a new outlook e-mail with values filled in using C# ASP.net.
I am already aware of the html tag "mailto"
Apr 24, 2010 06:52 AM|Chintan Dave|LINK
so have u got final answer?
I facing same problem. pls let me know if u got.
Apr 24, 2010 06:54 AM|Chintan Dave|LINK
I facing same problem. pls let me know if u got.
Apr 29, 2010 09:43 AM|commadercody|LINK
I am going to pretend that this discussion is not happening.... Correct me if I'm wrong but are you really asking that a web application open outlook? Not just a smiple mailto: tag but to have an outside web application open outlook and allow Joe Schmoe
send an email to anyone in the exchange address book? Please tell me this is not what you want.... What if they are not an employee and don't have outlook installed but you are going to serve up the companies email addresses to them?
Make a web form, have them type in the email addresses, or if you know of the common ones needed make a table of them, query them in a listbox and allow the user to select them....
I can't believe this is still a question after all these years.
May 05, 2010 09:56 PM|abransom|LINK
Wow, commadercody. That seems pretty presumptuous to take that kind of tone with someone and make all sorts of assumptions about what their application is doing and who will have access to it. I don’t know what the original poster’s purposes are, but I
came upon this post, because I am looking for a solution for my company’s intranet application on the backend of our website. Our site is written in VB.net, and I need to populate an html formatted body message with information from our SQL server paired
with information provided by our users (who happen to be password authenticated salespeople that work for our company). In our case it is imperative that the website launch a new mail message in the user’s Outlook account, because it needs to be saved in
their sent e-mail messages and it feeds into a third party CRM system.
Mailto: is not an option, because it doesn’t allow html tags in the body message. Already tried switching those to their ASCII counterparts, still didn’t work.
SMTP is not an option, because you can only send you can’t open and then send. Unless you know of a way to do that, which would be awesome.
I have tried adding a reference to Microsoft.Office.Interop.Outlook and using the Outlook objects. This compiles, but throws 401 errors when it is actually used.
So I am left searching for the same thing that the original poster is looking for. I am able to export tasks, calendar events, and contacts from our website to Outlook. Why not mail messages?
Essentially, I am just looking for an alternative to mailto: that will allow html formatting in the body message.
So do you have any suggestions, or are you still set on dismissing the possibility of a legitimate need for this existing?
May 21, 2010 10:27 AM|Rosy1|LINK
Hi abransom ,
could you please let me know if you got a solution for this. Can you share with me please as I am having the same problem.