我爱Aspx >> Asp.Net >> ASP.NET:Email Web PageIn IE 5 and 5.5 you could click a button to email a page to a friend. This was pretty cool, and since mail attachments are restricted in many areas due to the proliferation of email-attachment-borne viruses, it was nice that it included the page itself as the body of the message, in HTML format. For some reason, IE 6.0 has lost this functionality, and now will only email pages as attachments (at least that's all my version does). So, for this reason and because it combines a few good concepts, I created an ASP.NET page to allow me to email the contents of a web page to someone. In particular, I use this page to send my HTML formatted newsletter, which uses ASPLists.com's Lyris server, which doesn't allow mail attachments. The code is very simple. The page, with codebehind, is listed below:
EmailWeb.aspx
<%@ Page language="c#" Src="http://www.yaosansi.com/blog/EmailWeb.aspx.cs Codebehind
="EmailWeb.aspx.cs" AutoEventWireup="false" Inherits="ASPAlliance.Pages.EmailWeb" %>
ASP.NET 页面对象模型[05-20]
Asp.net 中服务端控件事件是如何..[05-20]
ASP.NET应用程序设计的10大技巧[05-20]
ASP.NET应用程序设计的10大技巧[05-20]
c#.net常用函数列表[05-20]
ASP.NET程序中常用的三十三种代码[05-20]
ASP.NET程序中常用编程代码(一)[05-20]
为ASP.NET 2.0菜单控件增加targe..[05-20]
ASP.NET程序中常用编程代码(二)[05-20]
ASP.NET 2.0 绑定高级技巧[05-20]
DataBinder.Eval用法范例[05-20]
ASP.NET 页面对象模型[05-20]
Asp.net 中服务端控件事件是如何..[05-20]
table的宽度,单元格内换行问题[05-20]
存储过程入门与提高[05-20]
ASP.NET应用程序设计的10大技巧[05-20]
ASP.NET应用程序设计的10大技巧[05-20]
用C#读取图片的EXIF信息的方法[05-20]
用Visual C#实现文件下载[05-20]
使用C#调用外部Ping命令获取网络..[05-20]