Is your feature request related to a problem? Please describe.
Now that we have net/smtp in our own control, we can implement useful things that weren't possible before (or just very cumbersome). First feature should be debug logging, allowing us see the input and outputs of the SMTP client.
Describe the solution you'd like
The NewClient should get an optional option. If this option is "debug", we want to create a log on the Client and log the different in- and outputs.
Is your feature request related to a problem? Please describe.
Now that we have
net/smtp
in our own control, we can implement useful things that weren't possible before (or just very cumbersome). First feature should be debug logging, allowing us see the input and outputs of the SMTP client.Describe the solution you'd like
The
NewClient
should get an optional option. If this option is "debug", we want to create alog
on the Client and log the different in- and outputs.Describe alternatives you've considered
No response
Additional context
No response