CommonsEmailNotificationService

works.iterative.service.email.impl.apache.CommonsEmailNotificationService
See theCommonsEmailNotificationService companion object

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Op[A] = ZIO[Any, Error, A]

Attributes

Inherited from:
EmailNotificationService

Value members

Concrete methods

def buildEmail(content: EmailContent): MultiPartEmail

Build an Apache Commons email instance carrying the configured subject, body, optional HTML alternative, and attachments. Returns an HtmlEmail (a MultiPartEmail subclass) when content.htmlMessage is defined, otherwise a plain MultiPartEmail.

Build an Apache Commons email instance carrying the configured subject, body, optional HTML alternative, and attachments. Returns an HtmlEmail (a MultiPartEmail subclass) when content.htmlMessage is defined, otherwise a plain MultiPartEmail.

Attributes

override def sendEmail(content: EmailContent)(to: Email*): Op[Unit]

Attributes

Definition Classes

Inherited methods

def sendEmail(subject: String, content: String, attachments: Attachment*)(to: Email*): Op[Unit]

Attributes

Inherited from:
EmailNotificationService