in reply to MIME::Lite

Everything looks pretty reasonable, so you should probably check the return values (i.e. $!) of the functions as you call them. At the very least do:

$msg->send or die "couldn't send!!!";

Then, when you know which function call fails, the answer may be immediately obvious, or at the very least the monks will have a little more to go on. (if all the calls succeed i would say take a good look at your mail server)

Good Luck,

Replies are listed 'Best First'.
RE: RE: MIME::Lite
by TStanley (Canon) on Jul 24, 2000 at 22:31 UTC
    I added the "or die" to the end of the send function. No luck there.
    It seems like it is actually sending the message, but not going anywhere.
    I do know that our sendmail actually works, so it could possibly be that
    MIME::Lite needs configuring, although I have no clue as to how to go about it.

    Thanks for the help though

      You need to check the return codes from ALL your function calls. For all you know, the new failed and you're calling all the other methods on a null function.

      Always check your return codes.