OhmysmtpClient (ohmysmtp_client v0.1.0)

A Thin Client for interacting with OhMySmtp

An API key created in the OhMySmtp dashboard must be in your application config under,

config: :ohmysmtp_client, token: "<OhMySmtp_API_TOKEN>"

Link to this section Summary

Link to this section Functions

Link to this function

send_email(email_send_request)

Send Email

Examples

iex> OhmysmtpClient.send_email(%OhmysmtpClient.EmailSendRequest{
                                from: "elixir@example.com",
                                subject: "Test",
                                textbody: "from elixir",
                                to: "hex@example.com"
                              })
:ok