Sphyrnidae Common Library  2.0.1
Shared Utilities/Library
Sphyrnidae.Common.EmailUtilities.EmailMock Class Reference

More...

Inheritance diagram for Sphyrnidae.Common.EmailUtilities.EmailMock:
Sphyrnidae.Common.EmailUtilities.Interfaces.IEmail

Public Member Functions

Task< bool > SendAsync (EmailType type, IEnumerable< string > to, IEnumerable< string > cc, string subject, string content)
 Sends an E-mail More...
 

Detailed Description

Member Function Documentation

◆ SendAsync()

Task<bool> Sphyrnidae.Common.EmailUtilities.EmailMock.SendAsync ( EmailType  type,
IEnumerable< string >  to,
IEnumerable< string >  cc,
string  subject,
string  content 
)

Sends an E-mail

Parameters
typeThe type of email being sent (Could auto-populate the "TO")
toA collection of "to" recipients of the email
ccA collection of "cc" recipients of the email
subjectSubject of the email
contentEmail body
Returns
True if send seems to be successful, false otherwise

Implements Sphyrnidae.Common.EmailUtilities.Interfaces.IEmail.


The documentation for this class was generated from the following file: