Did you try to use double quotes instead of single quotes to enable variable interpolation?
Update: OK, now you have provided examples of what you tried, this is good, but you should indicate clearly what you changed compared to your original question, because it now looks like my question is useless since you added reports on tests you did with double quotes, but this was not in the OP. Please show a complete example with double quotes (or no quote at all), including how you are defining the variables that you later use for your sender, recipient, etc. The problem might be somewhere else than in the definition of the mail itself.
In reply to Re: MAIL::SENDMAIL - Inserting $variable Into TO or FROM?
by Laurent_R
in thread MAIL::SENDMAIL - Inserting $variable Into TO or FROM?
by Milti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |