Details
Description
In my app, I want to log the whole SMTP transaction. To do so, I'm using:
$tr->getConnection()->getLog()
{/quote}This works and provides me with the SMTP transaction, however.. its length is limited.
Upon further investigation there is an hard coded value MAXIMUM_LOG in Zend_Mail_Protocol_Abstract.
I've (temporarily) modified this from 64 to 4096 so it covers the whole transaction.In my app I remove everything between DATA and the
trailing .
Can there be a setter (and getter) to modify this limit?
Maybe its also possible to add an option to disable the limit/checking of the limit.
Setting it to 999999 isn't very pretty.