Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

RE: MIME::Lite

by young perlhopper (Scribe)
on Jul 24, 2000 at 22:18 UTC ( #24140=note: print w/replies, xml ) Need Help??


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,
Mark

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

    TStanley
      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.

      *Woof*

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://24140]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2022-08-12 18:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?