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
Link to this section Functions
Link to this function
new()
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
Link to this function
new(opts)