Package

spinoco.fs2.mail

smtp

Permalink

package smtp

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. smtp
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait SMTPClient[F[_]] extends AnyRef

    Permalink

    SMTP Client implemented according to RFC 5321

Value Members

  1. object SMTPClient

    Permalink
  2. def client[F[_]](socket: Socket[F], initialHandshakeTimeout: FiniteDuration, sendTimeout: FiniteDuration, emailHeaderCodec: Codec[EmailHeader] = EmailHeaderCodec.codec(100 * 1024), mimeHeaderCodec: Codec[MIMEHeader] = ...)(implicit arg0: Concurrent[F]): Stream[F, SMTPClient[F]]

    Permalink

    Creates SMTP client.

    Creates SMTP client. Once stream is run, the client connects to server and expects server to send its welcome message (i.e. 220 foo.com, SMTP server Ready)

    socket

    Socket to use fro SMTP Connection to server

  3. def startTlsClient[F[_]](socket: Socket[F], tlsHandshake: (Socket[F]) ⇒ F[Socket[F]], initialHandshakeTimeout: FiniteDuration, sendTimeout: FiniteDuration, emailHeaderCodec: Codec[EmailHeader] = EmailHeaderCodec.codec(100 * 1024), mimeHeaderCodec: Codec[MIMEHeader] = ...)(implicit arg0: Concurrent[F]): Stream[F, SMTPClient[F]]

    Permalink

    Creates SMTP client with STARTTLS enabled.

    Creates SMTP client with STARTTLS enabled. Once stream is run, the client connects to server and expects server to send its welcome message (i.e. 220 foo.com, SMTP server Ready)

    socket

    Socket to use fro SMTP Connection to server

    tlsHandshake

    Converts non-TLS socket to TLS socket

Inherited from AnyRef

Inherited from Any

Ungrouped