Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^3: Can't get Net::SMTP to work

by Krambambuli (Deacon)
on May 13, 2013 at 15:41 UTC ( #1033307=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Can't get Net::SMTP to work
in thread Can't get Net::SMTP to work

In the that I can look into, the code is like

sub connect { @_ == 2 or croak 'usage: $sock->connect(NAME)'; my $sock = shift; my $addr = shift; my $timeout = ${*$sock}{'io_socket_timeout'}; my $err; my $blocking; $blocking = $sock->blocking(0) if $timeout; if (!connect($sock, $addr)) {
so the call to connect should still be traceable a bit by single-stepping...Might help to know if the issue is before or after getting a local socket to use. Not that I think that would help too much, but it still might get you a bit closer to a solution.

Any chance to try the code on another machine ? Are you running this with the same privileges as when you do successfully telnet ? Maybe you can check if it behaves the same way when you run it as Administrator?

Comment on Re^3: Can't get Net::SMTP to work
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2015-10-10 02:36 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (254 votes), past polls