mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
nits, removing a old todo and a stray newline
This commit is contained in:
parent
2073db194b
commit
dcee0345ef
2 changed files with 1 additions and 3 deletions
|
@ -414,8 +414,7 @@ func sendReportDomain(ctx context.Context, log *mlog.Log, resolver dns.Resolver,
|
||||||
subject := fmt.Sprintf("Report Domain: %s Submitter: %s Report-ID: <%s>", polDom.ASCII, fromDom, report.ReportID)
|
subject := fmt.Sprintf("Report Domain: %s Submitter: %s Report-ID: <%s>", polDom.ASCII, fromDom, report.ReportID)
|
||||||
|
|
||||||
// Human-readable part for convenience. ../rfc/8460:917
|
// Human-readable part for convenience. ../rfc/8460:917
|
||||||
text := fmt.Sprintf(`
|
text := fmt.Sprintf(`Attached is a TLS report with a summary of connection successes and failures
|
||||||
Attached is a TLS report with a summary of connection successes and failures
|
|
||||||
during attempts to securely deliver messages to your mail server, including
|
during attempts to securely deliver messages to your mail server, including
|
||||||
details about errors encountered. You are receiving this message because your
|
details about errors encountered. You are receiving this message because your
|
||||||
address is specified in the "rua" field of the TLSRPT record for your
|
address is specified in the "rua" field of the TLSRPT record for your
|
||||||
|
|
|
@ -140,7 +140,6 @@ type Attachment struct {
|
||||||
|
|
||||||
// File name based on "name" attribute of "Content-Type", or the "filename"
|
// File name based on "name" attribute of "Content-Type", or the "filename"
|
||||||
// attribute of "Content-Disposition".
|
// attribute of "Content-Disposition".
|
||||||
// todo: decode non-ascii character sets
|
|
||||||
Filename string
|
Filename string
|
||||||
|
|
||||||
Part message.Part
|
Part message.Part
|
||||||
|
|
Loading…
Reference in a new issue