mail/internal/mail/send.go
func Send(s Sender, msg ...*Message) error {
	for i, m := range msg {
		if err := send(s, m); err != nil {
			return &SendError{Cause: err, Index: uint(i)}
		}
	}

	return nil
}
func Send(s Sender, msg ...*Message) error {
	for i, m := range msg {
		if err := send(s, m); err != nil {
			return &SendError{Cause: err, Index: uint(i)}
		}
	}

	return nil
}
func Send ( s Sender , msg ... * Message ) error { for i , m := range msg { if err := send ( s , m ) ; err != nil { return & SendError { Cause : err , Index : uint ( i ) } } } return nil }
// Send sends emails using the given Sender.
Send sends emails using the given Sender .