exgrid v0.4.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?"])
Summary
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