How to use Debugoutput property to log Email SMTP Console of Send Action? #2243
Unanswered
AvIsBeastMC
asked this question in
Q&A
Replies: 1 comment
-
There's an example in the code of using either a callable you write yourself, or a PSR-3-compatible logger such as monolog, which you would use like this: $log = new Logger('name');
$log->pushHandler(new StreamHandler('path/to/your.log', Logger::WARNING));
$mail->Debugoutput = $log; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
Umm I recently got to know that you can log the SMTP Console of the Send action using Debugoutput property, though I don't know how to use and make it work.
Beta Was this translation helpful? Give feedback.
All reactions