Connecting with it and being able to send mail from it are two
different
things. Did you try setting the Hello option to something you know will
work? Did you turn on the Debug option? What does it say?
I was able to send email telnetting to the SMTP daemon, so I know it
was doing more than just
> $ telnet foohost 25
> 220 foohost Microsoft ESMTP MAIL Service, Version:
> 5.0.2195.5329 ready at Thu, 23 Jan 2003 09:47:19 -0500 HELO
> 250 foohost Hello [xxx.xxx.xxx.xxx] ... ...
>
> So, I know that there is a smtp daemon running on foohost,
> and that the machine I am running on can commu
I am attempting to write a mailing script using Net::SMTP. My code looks
something like this:
$smtp = Net::SMTP->new("foohost");
$smtp->mail("david");#This is line #53 in my program
And I get the following error:
Can't call method "mail" on an undefined value at C:\mailit.pl line 53.
So, I