Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I can get this to work
my %mail = ( From => 'tester@hotmail.com\n', To => 'to.test.com', Subject => 'Static Email', 'content-type' => 'text/html; charset="iso +-8859-1"', );
When i attempt to use the following, it creates errors. How can I modify the script to accept variables
my %mail = ( From => 'tester@hotmail.com\n', To => $email, Subject => $subject, 'content-type' => 'text/html; charset="iso-8859-1"', );
Edited by Chady -- code tags.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mail::Sendmail variables
by pg (Canon) on Nov 07, 2004 at 03:56 UTC | |
|
Re: Mail::Sendmail variables
by saberworks (Curate) on Nov 07, 2004 at 09:11 UTC | |
|
Re: Mail::Sendmail variables
by Ashford (Initiate) on Nov 09, 2004 at 00:14 UTC | |
|
Re: Mail::Sendmail variables
by daveinthesky (Beadle) on Nov 10, 2004 at 21:57 UTC |