C 郵件傳送類

2021-04-20 05:43:33 字數 903 閱讀 6648

c# code

using

system;

using

system.collections;

using

system.componentmodel;

using

system.data;

using

system.drawing;

using

system.web;

using

system.web.sessionstate;

using

system.web.ui;

using

system.web.ui.webcontrols;

using

system.web.ui.htmlcontrols;

using

system.web.mail;

namespace

aspnet300

#region

web 窗體設計器生成的**

override

protected

void

oninit(eventargs e)

private

void

initializecomponent()

#endregion

private

void

send001_click(

object

sender, system.eventargs e)

private

void

send002_click(

object

sender, system.eventargs e)

} }

C 傳送郵件類

public class email 收件人 public string mailtoarray 抄送 public string mailccarray 標題 public string mailsubject 正文 public string mailbody 發件人密碼 public stri...

C 郵件傳送輔助類

using system using system.net.mail using system.net.mime using system.io using system.collections.generic public class mailhelper 用來傳送電子郵件的 smtp 主機伺服器...

C 郵件傳送 實現類

using system using system.collections.generic using system.configuration using system.io using system.linq using system.net.mail using system.net.mime...