Download & Extend

Creating an option to allow PHPMailer debug info to be written to a file also

Project:PHPMailer
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

Currently the only output for the debug info is the screen.

The attached patch creates the option to log debug info also to a file.

This is very useful for problematic emails sent automatically (for example via cron). The problem I'm dealing with occurs during a massive simplenews batch send.

AttachmentSizeStatusTest resultOperations
phpmailer_debug_log_to_file.patch2.63 KBIgnoredNoneNone

Comments

#1

New version of the patch with minor correction on t() usage.

AttachmentSizeStatusTest resultOperations
phpmailer_debug_log_to_file.patch2.66 KBIgnoredNoneNone
nobody click here