All Downloads are FREE. Search and download functionalities are using the official Maven repository.

skinny.mailer.SkinnyMailer.scala Maven / Gradle / Ivy

There is a newer version: 2.5.2
Show newest version
package skinny.mailer

import skinny.mailer.feature._
import skinny.mailer.implicits.SkinnyMailerImplicits

object SkinnyMailer {

  def apply(mailerConfig: SkinnyMailerConfig): SkinnyMailer = new SkinnyMailer {
    override def config = mailerConfig
  }

  def apply(smConfig: SkinnyMailerConfig, extra: SkinnyMailerExtraConfig): SkinnyMailer = new SkinnyMailer {
    override def config = smConfig
    override def extraConfig = extra
  }

}

/**
 * SkinnyMailer
 */
trait SkinnyMailer
  extends SkinnyMailerBase
  with ConfigFeature
  with SmtpConfigFeature
  with ExtraConfigFeature
  with JavaMailSessionFeature
  with MessageBuilderFeature
  with SkinnyMailerImplicits




© 2015 - 2025 Weber Informatics LLC | Privacy Policy