in reply to Re: MIME::Lite $message construction with variables
in thread MIME::Lite $message construction with variables

Can you please share an example, i'm facing the same problem
  • Comment on Re^2: MIME::Lite $message construction with variables

Replies are listed 'Best First'.
Re^3: MIME::Lite $message construction with variables
by Corion (Patriarch) on Aug 05, 2022 at 10:20 UTC

    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 ...";