tags:

views:

35

answers:

1

I'm using Mail::Outlook to send messages, but when the content of the message is dynamic, for e.g. Time:$time\nEntry:$e, it prints this as it is and doesn't substitute the variables. What do I do for that?

+1  A: 

I notice that in the documentation for that module, the example code always uses single-quoted strings for the body text. Of course, if you use variables in a single-quoted string then the variables won't get expanded. Is that, perhaps, what you're doing?

This is only a guess though. You don't give anywhere near enough detail for us to give any real help.

davorg