If you have the same problem, why doesn't the same solution help you?
my $message = '... some message with $variable ...';
This will never interpolate $variable. Use double quotes:
my $message = "... some message with $variable ...";
In reply to Re^3: MIME::Lite $message construction with variables
by Corion
in thread MIME::Lite $message construction with variables
by hmbscully
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |