473,795 Members | 2,887 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.AddHea der("content-disposition", "attachemen t;
filename=msgsrc h.oss") 'have also tried inline instead of attachment
Response.Conten tType = "applicatio n/vnd.ms-outlook"
Response.Binary Write( 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 895

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

Similar topics

4
1499
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 the HTML to point to the image parts. JMH.
0
1572
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 IE by default. I search the Internet and found the best way to do it is by using stream. The following is my code for the download.asp. There are 2 problems, one is when I use firefox and click the link to download.asp, I found the system become...
3
4538
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 message. how do i achieve that. Is there any option in C# where i can perform this using the native support of .NET framework?
4
5109
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 things happening will be: a new email is created and some text is placed in the body, then the email window is displayed. The user can close the window or select some recipients and send the message. I would like some info on how to do this correctly....
0
1841
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 am streaming files from a Web Server (.aspx page) using the code bellow. --------------------------------------------------------------
0
2342
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 multi-part messages in MIME format. I am interested only in the plain text. Do you know an easy way to retrieve plain text of the body from an email message? Maybe a class, which can be constructed using the whole message string as a parameter...
11
4506
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 same selection gradient back color as Outlook 2003 has on its left pane. The selected pane in Outlook 2003 have a gradient orange color for blue color scheme in XP. This gradient color changes according to the color schemes of the windows XP. Can...
1
2890
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 message that I have to send is already in the form of a MIME stream (multipart, attachments and digitally signed), so using the classes of the System.Net.Mail namespace I have to: - parse the MIME - Extract the components - Build a MailMessage...
0
1391
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 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
3838
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 works fine, the message is read in using message_from_file, is_multipart returns True and I can process each component and extract message attachments. I am however running into problem with email messages that contain emails forwarded as...
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9519
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,...
1
10165
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
10001
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
9043
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...
1
7541
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5437
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
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2920
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.