go-mail/smtp
Winni Neessen 34b432a985
Implement debug logging in SMTP client
Resolves #101.

Since we now have full control over the SMTP client we can also access the message input and output.

This PR introduces a new debug logging feature. Via the `Client.WithDebugLog` the user can enable this feature. It will then make use of the new `smtp/Client.SetDebugLog` method. Once the flag is set to true, the SMTP client will start logging incoming and outgoing messages to os.Stderr.

Log directions will be output accordingly
2023-01-14 12:47:51 +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 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_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 Implement debug logging in SMTP client 2023-01-14 12:47:51 +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 Implement debug logging in SMTP client 2023-01-14 12:47:51 +01:00