Entry tags:
Duurrrr...
I just spent 15 minutes trying to figure out why my code just wouldn't make a connection to the SMTP server.
*facepalm* Yeah, a little bit braindead today I think.
[Edit: And hey, look! My domain registration expired. In my defense, I have never seen a single notification letter or email about it. All set for the next two years though.]
my $confirmation = Net::SMTP->new(Host => $smtpserver, Hello => $domain, Timeout => 30, Debug => 1); die "Couldn't connect to server" unless $smtp;
*facepalm* Yeah, a little bit braindead today I think.
[Edit: And hey, look! My domain registration expired. In my defense, I have never seen a single notification letter or email about it. All set for the next two years though.]
no subject
no subject
no subject
no subject
("But it worked before!")
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
My sympathies.
no subject
no subject
my $confirmation = Net::SMTP->new(blahblahblah) || die "couldn't connect to server";
Less readable, but harder to mess up. :-)
no subject