C# 클래스 Gopi.Sender

Represents the main class in Gopi component
파일 보기 프로젝트 열기: keyvan/Gopi

공개 메소드들

메소드 설명
AddNewEmail ( MailMessage email ) : void

Adds an email to database

SendAllEmails ( ) : int

Sends all emails stored in database

SendAllEmails ( int emailsCount ) : int

Sends a specified number of emails stored in database

Sender ( ) : System.Net

Public constructor

Sender ( string server ) : System.Net

Public constructor

Sender ( string server, string username, string password ) : System.Net

Public constructor

Sender ( string server, string username, string password, int timeOut, int port ) : System.Net

Public constructor

비공개 메소드들

메소드 설명
SendMail ( MailMessage email ) : bool

Sends an email

SendQueue ( int emailsCount ) : int

Sends specified number of emails stored in the queue

메소드 상세

AddNewEmail() 공개 메소드

Adds an email to database
public AddNewEmail ( MailMessage email ) : void
email System.Net.Mail.MailMessage Email to add
리턴 void

SendAllEmails() 공개 메소드

Sends all emails stored in database
public SendAllEmails ( ) : int
리턴 int

SendAllEmails() 공개 메소드

Sends a specified number of emails stored in database
public SendAllEmails ( int emailsCount ) : int
emailsCount int Number of emails to send
리턴 int

Sender() 공개 메소드

Public constructor
public Sender ( ) : System.Net
리턴 System.Net

Sender() 공개 메소드

Public constructor
public Sender ( string server ) : System.Net
server string SMTP server
리턴 System.Net

Sender() 공개 메소드

Public constructor
public Sender ( string server, string username, string password ) : System.Net
server string SMTP server
username string SMTP username
password string SMTP password
리턴 System.Net

Sender() 공개 메소드

Public constructor
public Sender ( string server, string username, string password, int timeOut, int port ) : System.Net
server string SMTP server
username string SMTP username
password string SMTP password
timeOut int Operation timeout
port int SMTP port
리턴 System.Net