如何使用Response.Contentype对于Windows Live Mail [英] How Do I Use Response .Contentype For Windows Live Mail

查看:85
本文介绍了如何使用Response.Contentype对于Windows Live Mail的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我应该在windows live mail中打开blobmail所包含的文件,但我不能。所以我应该为此做什么

这里是我的代码:



tablecontainer是一个数据表对象



 Response.Clear()
Response.ClearHeaders()
Response.ContentType = text / html
Response.AddHeader( Content-Disposition attachment; filename =& filename)
Response.AddHeader( Content-Length,TableContainer.Rows( 0 )。项目( 0 )。Length.ToString())



 Response.OutputStream.Write(blobMail, 0 ,blobMail.Length)
Response.Flush()
Response.Close()
响应。结束()

解决方案

< blockquote> HI朋友,



我已经解决了工作流程的电子邮件,但是在windows live mail中打开电子邮件后,页面仍在加载....我怎么能停止这个。帮助我



提前感谢



Velsamy A


Hi All,

i should open the file that it contained by blobmail in windows live mail, but i cant. so what i should do for this
here is my code :

tablecontainer is a datatable object

Response.Clear()
                    Response.ClearHeaders()
                    Response.ContentType = "text/html"
                    Response.AddHeader("Content-Disposition", "attachment; filename=" & filename)
                    Response.AddHeader("Content-Length", TableContainer.Rows(0).Item(0).Length.ToString())


Response.OutputStream.Write(blobMail, 0, blobMail.Length)
                   Response.Flush()
                   Response.Close()
                  Response.End()

解决方案

HI Friends,

I have solved the workflow email, but after open the email in windows live mail, still the page is loading.... how can i stop this. help me

thanks in advance

Velsamy A


这篇关于如何使用Response.Contentype对于Windows Live Mail的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆