use Net::SMTP
to:
use Net::SMTP;
You need one after your "new" line, too.
I figured this out by deleting most of your lines of code until the error disappeared.
In reply to Re: Need to send an email through my SMTP server using Perl
by toolic
in thread Need to send an email through my SMTP server using Perl
by Logic_Bomb421
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |