in reply to Problems using Mail::Sender

my guess would be that the call to new errored out and returned an error code instead of an object.

-pete
"Worry is like a rocking chair. It gives you something to do, but it doesn't get you anywhere."

Replies are listed 'Best First'.
Re: Re: Problems using Mail::Sender
by CombatSquirrel (Hermit) on Aug 22, 2003 at 17:04 UTC
    Actually, you are right, it returns error code -1, which is, according to the docs, "smtphost unknown". The only problem with that is that another program I wrote using Mail::Sender, which uses the same host (I double-checked) works just fine. I have the impression it's something about the multipart-thing.
    Thanks a lot, though.