C# 클래스 FS.Component.SmtpMail

E-Mail工具
파일 보기 프로젝트 열기: FarseerNet/Farseer.Net 1 사용 예제들

공개 메소드들

메소드 설명
Send ( List lstAddress, string subject, string body, EmailInfo mail = null, string fileName = "" ) : bool

发送电子邮件

Send ( List lstAddress, string subject, string body, string fileName = "" ) : bool

发送电子邮件

Send ( string emailAddress, string subject, string body, string fileName = "" ) : bool

发送电子邮件

SmtpMail ( string loginName, string loginPwd, string sendMail, string sendUserName, string smtpServer, int recipientMaxNum, int smtpPort = 25 ) : System.Collections.Generic

메소드 상세

Send() 공개 정적인 메소드

发送电子邮件
public static Send ( List lstAddress, string subject, string body, EmailInfo mail = null, string fileName = "" ) : bool
lstAddress List 收件人地址
subject string 邮件的标题
body string 邮件的正文
mail EmailInfo Email配置
fileName string 邮件附件路径名
리턴 bool

Send() 공개 메소드

发送电子邮件
public Send ( List lstAddress, string subject, string body, string fileName = "" ) : bool
lstAddress List 收件人地址
subject string 邮件的标题
body string 邮件的正文
fileName string 邮件附件路径名
리턴 bool

Send() 공개 메소드

发送电子邮件
public Send ( string emailAddress, string subject, string body, string fileName = "" ) : bool
emailAddress string 收件人地址,多个用;分隔
subject string 邮件的标题
body string 邮件的正文
fileName string 邮件附件路径名
리턴 bool

SmtpMail() 공개 메소드

public SmtpMail ( string loginName, string loginPwd, string sendMail, string sendUserName, string smtpServer, int recipientMaxNum, int smtpPort = 25 ) : System.Collections.Generic
loginName string
loginPwd string
sendMail string
sendUserName string
smtpServer string
recipientMaxNum int
smtpPort int
리턴 System.Collections.Generic