C# 클래스 EnterpriseWebLibrary.Email.EmailStatics

파일 보기 프로젝트 열기: enduracode/enterprise-web-library

Private Properties

프로퍼티 타입 설명
Init void
SendDeveloperNotificationEmail void
SendHealthCheckEmail void
addAddressesToMailAddressCollection void
alterMessageForIntermediateInstallation void
getDeveloperEmailAddresses IEnumerable
getSendGridMessage SendGrid.SendGridMessage
htmlToPlainText string
sendEmail void
sendEmailWithSmtpServer void

공개 메소드들

메소드 설명
GetAdministratorEmailAddresses ( ) : IEnumerable

Returns a list of administrator email addresses.

SendEmail ( EmailMessage message ) : void

Sends the specified mail message using the SMTP server specified in the config file.

SendEmailWithDefaultFromAddress ( EmailMessage message ) : void

After setting the From property to the from address specified in the config file, sends the specified mail message using the SMTP server specified in the config file.

비공개 메소드들

메소드 설명
Init ( ) : void
SendDeveloperNotificationEmail ( EmailMessage message ) : void
SendHealthCheckEmail ( string appFullName ) : void
addAddressesToMailAddressCollection ( IEnumerable emailAddressCollection, System mailAddressCollection ) : void
alterMessageForIntermediateInstallation ( EmailMessage m ) : void
getDeveloperEmailAddresses ( ) : IEnumerable

Returns a list of developer email addresses.

getSendGridMessage ( EmailMessage message ) : SendGrid.SendGridMessage
htmlToPlainText ( string html ) : string
sendEmail ( EmailMessage message, bool isDeveloperNotificationEmail ) : void
sendEmailWithSmtpServer ( Configuration smtpServer, EmailMessage message ) : void

메소드 상세

GetAdministratorEmailAddresses() 공개 정적인 메소드

Returns a list of administrator email addresses.
public static GetAdministratorEmailAddresses ( ) : IEnumerable
리턴 IEnumerable

SendEmail() 공개 정적인 메소드

Sends the specified mail message using the SMTP server specified in the config file.
public static SendEmail ( EmailMessage message ) : void
message EmailMessage
리턴 void

SendEmailWithDefaultFromAddress() 공개 정적인 메소드

After setting the From property to the from address specified in the config file, sends the specified mail message using the SMTP server specified in the config file.
public static SendEmailWithDefaultFromAddress ( EmailMessage message ) : void
message EmailMessage
리턴 void