My stupidity! (WAS RE: Mail::Sender weirdness)

From: Dan Muey (dmuey_at_infiniplex.com)
Date: 12/30/03


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



Relevant Pages

  • Re: My stupidity! (WAS RE: Mail::Sender weirdness)
    ... > the local sending to remote, ... > Remote to local is ok. ... > But authentication made my mail servers start sending it but I'm ...
    (perl.beginners)
  • Re: IE7 and Companyweb Authentication
    ... take an in-depth look at how my remote users login. ... This was what caused the problem with IE7 ... wants to have users authenticate using Basic Authentication which allows ...
    (microsoft.public.windows.server.sbs)
  • Re: Application pool with domain account & anonymous access disabled
    ... Web server must use the remote user's identity to access network ... authentication protocol so that IIS forces authentication (though the choice ... The issue is called "delegation", ...
    (microsoft.public.inetserver.iis)
  • Re: Getting seteuid/setegid functionality out of Windows
    ... the web client supplies to the web server ... via some password-request via SSL, or, in a pure Windows Authentication ... on a remote machine. ...
    (microsoft.public.win32.programmer.kernel)
  • "Local" and "Remote" considered insufficient
    ... These types of discrepancies in terminology happen fairly often. ... to include the amount of "authentication" required, ... vs. remote terminology for a while. ... When an FTP bug is exploitable by "authenticated" users, ...
    (Vuln-Dev)