C# Class EnterpriseWebLibrary.Email.EmailStatics

Afficher le fichier Open project: enduracode/enterprise-web-library

Private Properties

Свойство Type Description
Init void
SendDeveloperNotificationEmail void
SendHealthCheckEmail void
addAddressesToMailAddressCollection void
alterMessageForIntermediateInstallation void
getDeveloperEmailAddresses IEnumerable
getSendGridMessage SendGrid.SendGridMessage
htmlToPlainText string
sendEmail void
sendEmailWithSmtpServer void

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

GetAdministratorEmailAddresses() public static méthode

Returns a list of administrator email addresses.
public static GetAdministratorEmailAddresses ( ) : IEnumerable
Résultat IEnumerable

SendEmail() public static méthode

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

SendEmailWithDefaultFromAddress() public static méthode

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
Résultat void