On 31 May 2007 01:08:01 -0700,
<> wrote:
> Hi Martien, I have tried both, initially without using the Host label
> (I thought it might need it since that would seem logical) but I still
> get a cannot connect.
Next time, please reply in context, i.e. to the post that you're
replying to.
I get a very distinct difference between the following two:
$ perl -MNet::SMTP::SSL -wle \
'Net::SMTP::SSL->new("smtp.googlemail.com", Port => 465) and exit or die'
and
$ perl -MNet::SMTP::SSL -wle \
'Net::SMTP::SSL->new(Host => "smtp.googlemail.com", Port => 465) and exit or die'
The top one exits, the bottom one dies. This tells me that the top one
successfully connected, and the bottom one failed to connect. Looking at
the code for Net::SMTP::SSL also tells me that the bottom one is
incorrect.
If you get exactly the same response in both cases something esle is
wrong. Are you SURE you tried the correct combination of code, hostname
and port?
If you did, I suggest that there is something wrong with your network.
You're not behind a firewall that's blocking this, are you?
Martien
--
|
Martien Verbruggen | Unix is user friendly. It's just selective
| about its friends.
|