PublicAPI.Services.EmailServices.SendMessageДокументация ELMA API
Отправить сообщение
 
 
Синтаксис

public void SendMessage(
	SmtpSettings smtpSettings,
	MailMessage message,
	IEnumerable<MailMessageFile> files,
	IEnumerable<LinkedResourceFile> linkedResource
)

Параметры

smtpSettings
Тип: SmtpSettings
Настройки подключения к почтовому серверу
message
Тип: System.Net.Mail MailMessage
Сообщение для отправки
files
Тип: System.Collections.Generic IEnumerable MailMessageFile 
Прикрепленные файлы
linkedResource
Тип: System.Collections.Generic IEnumerable LinkedResourceFile 
Файлы используемые в теле письма
См. также