Show / Hide Table of Contents

Interface IEmailService

Namespace: NotifyHub.NotificationService.Application.Interfaces
Assembly: NotifyHub.NotificationService.Application.dll
Syntax
public interface IEmailService

Methods

| Edit this page View Source

GenerateMessage(string, string, string)

Создание письма перед отправкой

Declaration
MimeMessage GenerateMessage(string email, string subject, string messageBody)
Parameters
Type Name Description
string email

Почта получателя

string subject

Тема письма

string messageBody

Текст сообщения

Returns
Type Description
MimeMessage

Объект MimeMessage для отправки на почту

| Edit this page View Source

SendEmailAsync(string, string, string)

Отправка письма

Declaration
Task SendEmailAsync(string email, string subject, string messageBody)
Parameters
Type Name Description
string email

Почта пользователя

string subject

Заголовок сообщения

string messageBody

Сообщение

Returns
Type Description
Task
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX