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
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.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: