Duurrrr...
Oct. 18th, 2005 02:48 pmI 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
Date: 2005-10-18 06:54 pm (UTC)no subject
Date: 2005-10-18 06:57 pm (UTC)no subject
Date: 2005-10-18 06:57 pm (UTC)no subject
Date: 2005-10-18 07:32 pm (UTC)("But it worked before!")
no subject
Date: 2005-10-18 07:12 pm (UTC)no subject
Date: 2005-10-18 07:23 pm (UTC)no subject
Date: 2005-10-18 08:12 pm (UTC)no subject
Date: 2005-10-18 08:28 pm (UTC)no subject
Date: 2005-10-18 10:12 pm (UTC)no subject
Date: 2005-10-21 12:41 am (UTC)no subject
Date: 2005-10-18 07:22 pm (UTC)no subject
Date: 2005-10-18 07:33 pm (UTC)no subject
Date: 2005-10-18 08:15 pm (UTC)My sympathies.
no subject
Date: 2005-10-21 12:40 am (UTC)no subject
Date: 2005-10-18 09:56 pm (UTC)my $confirmation = Net::SMTP->new(blahblahblah) || die "couldn't connect to server";
Less readable, but harder to mess up. :-)
no subject
Date: 2005-10-21 12:38 am (UTC)