in reply to Re^3: email through Exchange server using StrawberryPerl
in thread email through Exchange server using StrawberryPerl

I'm sorry, How do I read anything after the :? The error message is -3 which is "connect() failed:" Is there another command to see the rest of the message?

Thanks,

Steve

  • Comment on Re^4: email through Exchange server using StrawberryPerl

Replies are listed 'Best First'.
Re^5: email through Exchange server using StrawberryPerl
by soonix (Chancellor) on Oct 02, 2014 at 15:59 UTC

    That's tough. I had expected that $Mail::Sender::Error would be more informative.

    However, if I read Mail::Sender right, you could
    die $sender->{'error_msg'}
    or alternatively add
    debug => 'c:/temp/mailsendertest.log'
    into your constructor. (Attention: the doc says it will be overwritten, not appended)