最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
改进了的一个邮件发送类
时间:2022-07-02 11:32:59 编辑:袖梨 来源:一聚教程网
/******************************************************
FileName:
Copyright (c) 2003-xxxx *********公司技术开发部
Writer:
create Date:2004-12-20
Rewriter:
Rewrite Date:
Impact:
Main Content:(Function Name、parameters、returns)
支持ESMTP, 多附件
******************************************************/
using System;
using System.Collections;
using System.Net.Sockets;
using System.IO;
using System.Text;
namespace Edu.Stu.Common.Mail
{
///
/// Module ID:0005
/// Depiction:发送邮件,支持ESMTP, 多附件
/// Wreter:Nick
/// Create Date;2004-12-20
///
public class MailSender
{
#region "Fields"
private string m_strFromName = "";
private string[] m_strTo = null;
private string m_strFrom = "";
private string m_strPassWord = "";
private string m_strUserName = "";
private int m_iPort = 25;
private string m_strServer = "";
private int m_iPriority = 3;
private string m_strEncoding = "8bit";
private string m_strLanguageEncoding = "GB2312";
private bool m_bIsHtml = true;
private string m_strHtmlBody = "";
private string m_strTxtBody = "";
private string m_strSubject = "";
private string m_strToName = "";
private ArrayList m_alAttachments = new ArrayList ();
#endregion
#region "Propertes"
FileName:
Copyright (c) 2003-xxxx *********公司技术开发部
Writer:
create Date:2004-12-20
Rewriter:
Rewrite Date:
Impact:
Main Content:(Function Name、parameters、returns)
支持ESMTP, 多附件
******************************************************/
using System;
using System.Collections;
using System.Net.Sockets;
using System.IO;
using System.Text;
namespace Edu.Stu.Common.Mail
{
///
/// Module ID:0005
/// Depiction:发送邮件,支持ESMTP, 多附件
/// Wreter:Nick
/// Create Date;2004-12-20
///
public class MailSender
{
#region "Fields"
private string m_strFromName = "";
private string[] m_strTo = null;
private string m_strFrom = "";
private string m_strPassWord = "";
private string m_strUserName = "";
private int m_iPort = 25;
private string m_strServer = "";
private int m_iPriority = 3;
private string m_strEncoding = "8bit";
private string m_strLanguageEncoding = "GB2312";
private bool m_bIsHtml = true;
private string m_strHtmlBody = "";
private string m_strTxtBody = "";
private string m_strSubject = "";
private string m_strToName = "";
private ArrayList m_alAttachments = new ArrayList ();
#endregion
#region "Propertes"
相关文章
- 《无限暖暖》天星之羽获得位置介绍 12-20
- 《流放之路2》重铸台解锁方法介绍 12-20
- 《无限暖暖》瞄准那个亮亮的成就怎么做 12-20
- 《无限暖暖》魔气怪终结者完成方法 12-20
- 《无限暖暖》曙光毛团获得位置介绍 12-20
- 《无限暖暖》日光果获得位置介绍 12-20