code_corps v0.0.1 CodeCorps.Messages.Emails View Source

Handles email notifications used within the Messages context

Link to this section Summary

Functions

Notifies all the recipients of a new CodeCorps.Message

Notifies users via email when a CodeCorps.ConversationPart has been added to a CodeCorps.Conversation

Link to this section Functions

Link to this function notify_message_targets(message) View Source
notify_message_targets(CodeCorps.Message.t()) :: :ok

Notifies all the recipients of a new CodeCorps.Message.

Target recipients are found in the user relationship of each CodeCorps.Conversation.

Link to this function notify_of_new_reply(part) View Source
notify_of_new_reply(CodeCorps.ConversationPart.t()) :: :ok

Notifies users via email when a CodeCorps.ConversationPart has been added to a CodeCorps.Conversation.

Sends to users participating in the conversation, excluding the author of the conversation part.