mailgun4s alternatives and similar packages
Based on the "Misc" category.
Alternatively, view mailgun4s alternatives based on common mentions on social networks and blogs.
-
BootZooka
Simple project to quickly start developing a Scala-based microservice or web application, without the need to write login, user registration etc. -
ScalaSTM
A library-based Software Transactional Memory (STM) for Scala, coupled with transactional sets and maps -
Miniboxing
Miniboxing is a program transformation that improves the performance of Scala generics when used with primitive types. It can speed up generic collections by factors between 1.5x and 22x, while maintaining bytecode duplication to a minimum. You can easily add miniboxing to your sbt project: -
aws4s
DISCONTINUED. Non-blocking AWS SDK for Scala exposing strongly-typed APIs built on top of http4s, fs2 and cats -
media4s
Scala command-line wrapper around ffmpeg, ffprobe, ImageMagick, and other tools relating to media. -
powerscala
Powerful framework providing many useful utilities and features on top of the Scala language. -
GoogleApiScala
This API is a wrapper for the google java libraries. Currently mapping Admin Directory, Drive, and Calendar. -
Easy Config
Easy Config makes Scala application configuration extremely easy. It reads configuration from the environment or command line arguments.
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of mailgun4s or a related project?
README
mailgun4s
Updated project originally forked from https://github.com/Nycto/mailgun-scala but since has been completely re-written.
A Scala wrapper around the Mailgun API. Their documentation can be found here:
http://documentation.mailgun.com
Currently only supports sending messages, but more functionality will be added as needed or requested.
Example
The following example shows how to instantiate and send an email:
import org.matthicks.mailgun._
import java.io._
import scala.concurrent._
import scala.concurrent.duration._
val mailgun = new Mailgun("samples.mailgun.org", "key-YOUR-MAILGUN-KEY")
val response = mailgun.send(Message.simple(
from = EmailAddress("[email protected]", "Test App"),
to = EmailAddress("[email protected]", "Joe User"),
"Mailgun4s Rules!",
text = "This is the testing text",
html = "<html><b>This</b> <i>seems</i> <img src=\"cid:example.jpg\"/> to <h1>work!</h1></html>"
).withInline(new File("example.jpg"), "image/jpeg"))
val result = Await.result(response, Duration.Inf)
println(s"Result: $result")
Adding it to your Project
Add the following directives to your build.sbt
file:
libraryDependencies ++= Seq(
"org.matthicks" %% "mailgun4s" % "1.0.15"
)
License
This library is released under the MIT License, which is pretty spiffy. You should have received a copy of the MIT License along with this program. If not, see http://www.opensource.org/licenses/mit-license.php.
*Note that all licence references and agreements mentioned in the mailgun4s README section above
are relevant to that project's source code only.