My stupidity! (WAS RE: Mail::Sender weirdness)
From: Dan Muey (dmuey_at_infiniplex.com)
Date: 12/30/03
- Next message: Daniel Staal: "Re: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Previous message: Unknown Sender: "inquiry-perltk"
- Next in thread: Daniel Staal: "Re: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Reply: Daniel Staal: "Re: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Maybe reply: Dan Muey: "RE: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Maybe reply: Dan Muey: "RE: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Maybe reply: Dan Muey: "RE: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 11:58:46 -0600 To: <beginners@perl.org>
> > > The thing is I get "Sending...Done" everytime but never a
> > dleivery and
> > > no hinf tof it in the logs. On one server I needed to use smtp
> > > authentication but that set $@ and said connection
This part of it was completely stupid on my part:
I was doing if($@) { ...
I added if($@ || $Mail::Sender::Error) { ...
And guess what? It gave me the error message. Duh, what a moron!
So now it said "Connection not established" for
the local sending to remote, which I would think would
be the easiest one, especially since:
Local to local is ok.
Remote to local is ok.
I'm not doing any remote to remote.
But authentication made my mail servers start sending it but I'm still not sure why my
mail server would insist on authentication in one case but not the other.
Oh well, whaddayado!
Dan
> couldn't be made.
> > >
> > > Any ideas what I'm missing would be awesome!
> >
> > By default Mail::Sender does not raise exceptions. It returns
> > negative error codes.
> >
>
> Right on! I'll take a look at your cpan page again and redo
> my problem handling angle.
>
> As usual you rock!
>
> > Jenda
- Next message: Daniel Staal: "Re: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Previous message: Unknown Sender: "inquiry-perltk"
- Next in thread: Daniel Staal: "Re: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Reply: Daniel Staal: "Re: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Maybe reply: Dan Muey: "RE: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Maybe reply: Dan Muey: "RE: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Maybe reply: Dan Muey: "RE: My stupidity! (WAS RE: Mail::Sender weirdness)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|