func (m *Message) AttachBuffer(filename string, buf []byte, inline bool) error {
	m.Attachments[filename] = &Attachment{
		Filename: filename,
		Data:     buf,
		Inline:   inline,
	}
	return nil
}
func (m *Message) AttachBuffer(filename string, buf []byte, inline bool) error {
	m.Attachments[filename] = &Attachment{
		Filename: filename,
		Data:     buf,
		Inline:   inline,
	}
	return nil
}
func ( m * Message ) AttachBuffer ( filename string , buf [ ] byte , inline bool ) error { m . Attachments [ filename ] = & Attachment { Filename : filename , Data : buf , Inline : inline , } return nil }
// AttachBuffer attaches a binary attachment.
AttachBuffer attaches a binary attachment .