exgrid v1.0.0 ExGrid.Message

Create a Message map

Examples

iex> {:ok, message} = ExGrid.Message.new([to: “foo”, from: “me@myself.com”, subject: “hello”, text: “how are you?”])

Link to this section Summary

Functions

Creates a message

Link to this section Functions

Creates a message.

The minimum needed to send an email

[to: “foo”, from: “me@myself.com”, subject: “hello”, text: “how are you?”]

When adding attachments, they must be in this form files[file1.jpg]=file1.jpg