Examples using... "net/mail"

Recent
ReadMessage reads a message from r. The headers are parsed, and the body of the message will be available for reading from msg.Body.
ParseAddressList parses the given string as a list of addresses.
ParseAddress parses a single RFC 5322 address, e.g. "Barry Gibbs <bg@example.com>"
NewReader creates a new multipart Reader reading from r using the given MIME boundary.