Description

Attach is used to attach content from an io.Reader to the email. Required parameters include an io.Reader, the desired filename for the attachment, and the Content-Type The function will return the created Attachment for reference, as well as nil for the error, if successful.

Attach is referenced in 2 repositories

github.com/jordan-wright/email github.com/fifa2002nb/mosun_schedule