Philip Mak wrote:
> 
> I noticed that when I have "PerlSetVar Debug 2", $Server->Mail will output
> a whole bunch of Net::SMTP messages in the error log. This does not happen
> when I have "PerlSetVar Debug 0".
> 
> Is it possible to make $Server->Mail not output debugging messages when
> Debug is 2?
> 
> I've tried:
> 
> $Server->Mail({
>   From => ...,
>   To => ...,
>   Subject => ...,
>   Body => ...,
> }, (Debug => 0));
> 
> but putting the "Debug => 0" didn't stop it from printing out debug
> messages. My purpose of having "PerlSetVar Debug 2" is so that I can see
> where the problem is when a "500 Internal Server Error" occurs, but is it
> possible to do that without filling up the error log with Net::SMTP
> messages?
> 

Sure, I'll put this on my TODO for the module, that passing 
Debug => 0 as an smtp arg will override the Debug behavior ...
or, maybe only the Debug for SMTP should be active when 
system debugging is enabled like Debug -2 ?

--Josh

_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks <- Web Link Checking          Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to