C# 클래스 Rock.Communication.Email

Email class
파일 보기 프로젝트 열기: NewSpring/Rock 1 사용 예제들

공개 메소드들

메소드 설명
NotifyAdmins ( string subject, string message, string appRoot = "", string themeRoot = "", bool createCommunicationHistory = true ) : void

Notifies the admins.

ProcessBounce ( string email, BounceType bounceType, string message, System.DateTime bouncedDateTime ) : void

Processes the bounce.

Send ( System.Guid emailTemplateGuid, List recipients, string appRoot = "", string themeRoot = "", bool createCommunicationHistory = true ) : void

Sends the specified email template unique identifier.

Send ( string fromEmail, string subject, List recipients, string message, string appRoot = "", string themeRoot = "", List attachments = null, bool createCommunicationHistory = true ) : void

Sends the specified from email.

Send ( string fromEmail, string fromName, string subject, List recipients, string message, string appRoot = "", string themeRoot = "", List attachments = null, bool createCommunicationHistory = true ) : void

Sends the specified from email.

메소드 상세

NotifyAdmins() 공개 정적인 메소드

Notifies the admins.
Error sending System Email: Could not read Email Medium Entity Type
public static NotifyAdmins ( string subject, string message, string appRoot = "", string themeRoot = "", bool createCommunicationHistory = true ) : void
subject string The subject.
message string The message.
appRoot string The application root.
themeRoot string The theme root.
createCommunicationHistory bool if set to true [create communication history].
리턴 void

ProcessBounce() 공개 정적인 메소드

Processes the bounce.
public static ProcessBounce ( string email, BounceType bounceType, string message, System.DateTime bouncedDateTime ) : void
email string The email.
bounceType BounceType Type of the bounce.
message string The message.
bouncedDateTime System.DateTime The bounced date time.
리턴 void

Send() 공개 정적인 메소드

Sends the specified email template unique identifier.
/// Error sending System Email: Could not read Email Medium Entity Type ///
public static Send ( System.Guid emailTemplateGuid, List recipients, string appRoot = "", string themeRoot = "", bool createCommunicationHistory = true ) : void
emailTemplateGuid System.Guid The email template unique identifier.
recipients List The recipients.
appRoot string The application root.
themeRoot string The theme root.
createCommunicationHistory bool if set to true [create communication history].
리턴 void

Send() 공개 정적인 메소드

Sends the specified from email.
public static Send ( string fromEmail, string subject, List recipients, string message, string appRoot = "", string themeRoot = "", List attachments = null, bool createCommunicationHistory = true ) : void
fromEmail string From email.
subject string The subject.
recipients List The recipients.
message string The message.
appRoot string The application root.
themeRoot string The theme root.
attachments List The attachments.
createCommunicationHistory bool if set to true [create communication history].
리턴 void

Send() 공개 정적인 메소드

Sends the specified from email.
Error sending System Email: Could not read Email Medium Entity Type
public static Send ( string fromEmail, string fromName, string subject, List recipients, string message, string appRoot = "", string themeRoot = "", List attachments = null, bool createCommunicationHistory = true ) : void
fromEmail string From email.
fromName string From name.
subject string The subject.
recipients List The recipients.
message string The message.
appRoot string The application root.
themeRoot string The theme root.
attachments List The attachments.
createCommunicationHistory bool if set to true [create communication history].
리턴 void