> > > Any ideas what is causing this? Like I said, the mail goes out > fine, but > it makes it pretty difficult to check the return code since > it's always > coming back false. > > Shouldn't you check $? instead? >
I was under the assumption that doing something similar to: my $returnval = $msg->send(); Would give a similar answer. I'll give the $? a shot though. I've noticed that from the shell, it always has a 0, and that would show up as false under perl...