go-mail/smtp
Winni Neessen 63d8cef8ca
Refactor DSN handling from client.go to smtp.go
This PR refactors the the DSN (RFC 1891) SMTP client handling, that was introduced in f4cdc61dd0.

While most of the Client options stay the same, the whole workaround logic for the SMTP client has been removed and added as part of the SMTP client instead.

This was we got rid of the Client's own `mail()`, `rcpt()`, `dsnRcpt()`, `dsnMail()` methods as well as the copies of the `cmd()` and `validateLine()` methods. The Client is now using the proper `Mail()` and `Rcpt()` methods of the SMTP client instead.
2023-01-18 10:30:06 +01:00
..
auth.go Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
auth_cram_md5.go Re-introduce backwards compatibility with Go 1.17 and Go 1.18 2023-01-13 17:34:41 +01:00
auth_cram_md5_118.go Added backport comments as reference 2023-01-13 17:42:05 +01:00
auth_login.go Switched copyright header from me to "The go-mail Authors" 2023-01-15 16:14:19 +01:00
auth_plain.go Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
example_test.go Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
LICENSE Adjusting license headers and including original LICENSE file from the Go project into the smtp/ directory as suggested in https://github.com/wneessen/go-mail/issues/97#issuecomment-1381046444 2023-01-13 16:54:55 +01:00
smtp.go Refactor DSN handling from client.go to smtp.go 2023-01-18 10:30:06 +01:00
smtp_ehlo.go Re-introduce backwards compatibility with Go 1.17 and Go 1.18 2023-01-13 17:34:41 +01:00
smtp_ehlo_117.go Added backport comments as reference 2023-01-13 17:42:05 +01:00
smtp_test.go Fix tests to not log authentication data 2023-01-14 13:05:04 +01:00