BambooSes.Message.Destination.put_to
You're seeing just the function
put_to
, go back to BambooSes.Message.Destination module for more information.
Specs
put_to(t(), [Bamboo.Email.address()]) :: t()
put_to(t(), Bamboo.Email.address()) :: t()
Adds single recipient or list of recipients to the "To" field of the destination struct
Example
put_to(destination, [{"John Doe", "john.doe@example.com"}, {"Jane Doe", "jane.doe@example.com"}]
put_to(destination, {"John Doe", "john.doe@example.com"})