Subject: | File based debug feature buggy? String output possible? |
Hello,
in our automatic system should create a async mail if an error will popup. While debugging the system, i get mails where the from header are different from the values which are set set from my script. I remember that debug feature exists. After activating nothing more are working. I tested it on different platforms and perl versions. The error are always the same (like show below).
At this point, it is possible, to 'print' the debug output to an string variable and not in a file? In our final environment is it completely excluded to create files.
Kind Regards
Parameter are:
, ...
, debug => "mail.log"
, debug_level => 4
, ...
Message are:
Can't call method "opened" without a package or object reference at
(eval 15)[/usr/lib/perl5/site_perl/5.8.2/Mail/Sender.pm:312] line 46, <GEN0> line 1.
Mail::Sender::DBIO::opened('Mail::Sender::DBIO=GLOB(0xa7e2534)') called at /usr/lib/perl5/site_perl/5.8.2/Mail/Sender.pm lin e 160
Mail::Sender::send_cmd('Mail::Sender::DBIO=GLOB(0xa7e2534)','ehlo XP056') called at /usr/lib/perl5/site_perl/5.8.2/Mail/Sender.pm line 180
Mail::Sender::say_helo('Mail::Sender=HASH(0xa728c68)', 'Mail::Sender::DBIO=GLOB(0xa7e2534)') called at /usr/lib/perl5/site_perl/5.8.2/Mail/Sender.pm line 922
Mail::Sender::Connect('Mail::Sender=HASH(0xa728c68)') called at /usr/lib/perl5/site_perl/5.8.2/Mail/Sender.pm line 1087
Mail::Sender::Open('Mail::Sender=HASH(0xa728c68)', 'HASH(0xa682600)') called at /usr/lib/perl5/site_perl/5.8.2/Mail/Sender.pm line 1488
Mail::Sender::MailMsg('Mail::Sender=HASH(0xa728c68)', 'HASH(0xa682600)') called at ...