go-gomail / gomail

The best way to send emails in Go.
MIT License
4.34k stars 574 forks source link

Could we add support to specifically unset/delete all attachements? #187

Open oddimportance opened 1 year ago

oddimportance commented 1 year ago

Could we add support to specifically unset/delete all attachments? Something like so: func (m *Message) UnsetAllAttachedFiles() { m.attachments = nil // }

wneessen commented 11 months ago

This package is not maintained anymore, but I like this idea and will add it to go-mail accordingly.

oddimportance commented 11 months ago

Lovely, much appreciated.

Am Di., 17. Okt. 2023 um 17:04 Uhr schrieb Winni Neessen < @.***>:

This package is not maintained anymore, but I like this idea and will add it to go-mail https://github.com/wneessen/go-mail accordingly.

— Reply to this email directly, view it on GitHub https://github.com/go-gomail/gomail/issues/187#issuecomment-1766608549, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASN7PFPQ3LGNA6EZRALRGG3X72NATAVCNFSM6AAAAAA4EK6XLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWGYYDQNJUHE . You are receiving this because you authored the thread.Message ID: @.***>