You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thank you again for such a great project. I have some trouble with using incoming webhooks for our system.
Specifically we are missing ContentDisposition and ContentDispositionParams fields to construct representation of email with attachments for our delivery queue. Is it possible to add those please?
type Structure struct {
....
ContentDisposition string // Lower case (nullable), e.g. attachment
ContentDispositionParams map[string]string // Lower case keys, original case values, e.g. {"filename": test.pdf"}.
}
The text was updated successfully, but these errors were encountered:
for each message part. The ContentDisposition value is the base value without
header key/value parameters. the Filename field is the likely filename of the
part. the different email clients encode filenames differently. there is a
standard mime mechanism from rfc 2231. and there is the q/b-word-encoding from
rfc 2047. instead of letting users of the webhook api deal with those
differences, we provide just the parsed filename.
for issue #258 by morki, thanks for reporting!
@morki the commit above adds the ContentDisposition word ("attachment", "inline"), and instead of the ContentDispositionParams, it adds a "Filename" field. this is due to differences in where email clients put the filename, and in which encoding. could you see if this works for you?
Hey @mjl- ,
thank you again for such a great project. I have some trouble with using incoming webhooks for our system.
Specifically we are missing
ContentDisposition
andContentDispositionParams
fields to construct representation of email with attachments for our delivery queue. Is it possible to add those please?https://pkg.go.dev/github.com/mjl-/[email protected]/webhook#Structure
Desired state
The text was updated successfully, but these errors were encountered: