EmailServiceSendGrid

zio.mail.EmailServiceSendGrid
final case class EmailServiceSendGrid(config: SendGridConfig) extends EmailService

A variant of EmailService for the SendGrid API.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait EmailService
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def send(from: EmailAddress, to: Iterable[EmailAddress], subject: String, body: String): IO[Throwable, Unit]

Sends a plain text email

Sends a plain text email

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val sendGridAPI: SendGrid