C# Класс EnterpriseWebLibrary.Email.EmailStatics

Показать файл Открыть проект

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