Knocks/BackEnd/Knoks.Framework/Services/IEmailService.cs

12 lines
577 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Threading.Tasks;
namespace Knoks.Framework.Services
{
public interface IEmailService
{
Task<bool> SendHtml(string subject, string body, string fromАddress, params string[] toАddresses);
Task<bool> SendHtml(string subject, string body, string fromАddress, EmailDestinationtoАddresses аddresses);
Task<bool> SendText(string subject, string body, string fromАddress, params string[] toАddresses);
Task<bool> SendText(string subject, string body, string fromАddress, EmailDestinationtoАddresses аddresses);
}
}