Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Answer: How do I send e-mail from my Perl Program?

by cLive ;-) (Parson)
on Jan 14, 2002 at 10:16 UTC ( #138528=note: print w/ replies, xml ) Need Help??


in reply to Answer: How do I send e-mail from my Perl Program?
in thread mail and news

Small error:

my $smtp = Net::SMTP->new('$mailserver_url') or die $!;
should be:
my $smtp = Net::SMTP->new($mailserver_url) or die $!;
or
my $smtp = Net::SMTP->new("$mailserver_url") or die $!;
Single quotes aren't interpolated!

cLive ;-)


Comment on Re: Answer: How do I send e-mail from my Perl Program?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://138528]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-08-02 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (55 votes), past polls