473,395 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to MIME outlook from web download using asp.net

In outlook, I've setup an advanced search (Ctrl-Shift-F) and saved the
search as msgsrch.oss. Next, I've uploaded this file to a field in my
web sql server. In my web app, when I click on an email address I'm 1)
loading the mshsrch.oss field into a variable, 2) replacing the email
address with the one that is clicked on, 3) pushing the file out so
that the search pops up un outlook.

This is really cool - if it worked. My problem is in step 3. I've got
this so far:

Response.Buffer = true
Response.Clear()
Response.AddHeader("content-disposition", "attachement;
filename=msgsrch.oss") 'have also tried inline instead of attachment
Response.ContentType = "application/vnd.ms-outlook"
Response.BinaryWrite( reader("msgsrch") )

This will give me the open/save dialog. Hitting open gives a beep and
nothing happens. Hitting Save allows me to save the file and pops up
another dialog offering to open it. If I open it, it works and the
outlook search dialog comes up.

I don't mind getting the open/save dialog but how can I hit open and
have the outlook search dialog come up?

Can I bypass the open/save dialog so that the outlook search dialog
comes up immeadiately?

I've got a GoDaddy hosted account so I can't read/write files. The
trust level is medium and set not to change. (I think.) I'm using IE7
and outlook 2003 on a XP SP2 machine. Also using asp.net 2.0.

Thanks in advance.

Jun 7 '07 #1
0 881

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

Similar topics

4
by: John Mark Howell | last post by:
Sorry for the cross postings, but I'm getting nowhere. Does anyone know how to create a MIME for an HTML email that contains images? I can create the MIME body parts, but I don't know how to get...
0
by: mizi | last post by:
I am writing an ASP page for downloading some files, such as jpg, doc which are known MIME type. I want to force user save these files through a "file download" dialog instead of open them on the...
3
by: Jyothi | last post by:
Hi All, Thanks for ur reply for my previous postings. I have a question. I wanted to show the outlook inbox in a window with minimal options like send,delete,reply,forward,replytoall,new...
4
by: Max | last post by:
Hi, I would like to have a button and a combo box with options to select various versions of Microsoft Outlook: 2002, 2003. The user selects the email client and clicks the button. The only...
0
by: PIKACHU | last post by:
Hi, I hope someone can help me. I do not usualy write question in newsgroup since I usualy some had the same problem I had. However, I can't find any articles that would solve my problem. I...
0
by: Klaus Bonadt | last post by:
I would like to parse an email, which I receive from a pop3 account. While the subject and the sender's email address are probably easy to determine, the body seems to be more difficult because of...
11
by: Maximus | last post by:
Hi all, Has anyone been able to reterive the gradient selection colors used in outlook 2003? Basically, I have a grid showing a list of records and my client wants the selected row to have the...
1
by: fabrizio.viggiani | last post by:
I need to send a mail message to an SMTP server. The .net framework provides System.Net.Mail namespace to send an email: - Build a System.Net.Mail.MailMessage and send it using SmtpClient The...
0
by: Roark | last post by:
In outlook, I've setup an advanced search (Ctrl-Shift-F) and saved the search as msgsrch.oss. Next, I've uploaded this file to a field in my web sql server. In my web app, when I click on an email...
3
by: Steven Allport | last post by:
I am working on processing eml email message using the email module (python 2.5), on files exported from an Outlook PST file, to extract the composite parts of the email. In most instances this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...

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.