From: dJD col Date: 2013-07-11T22:14:36+09:00 Subject: Re: execute commands within SMTP email code: send content in variables and not actual variables tamouse m. wrote in post #1115087: > > When you get to the ms in your message body, it's just a string at that > point. As was pointed out. you need to interpolate it: > > msgstr = < > #{ms} > > EOF > > > The Pony gem was mentioned, I'm partial to the mail gem. Either is fine, > but also learning to use the lower level std lib module is good too, for > understanding. Pony and mail make things easier, but underneath they're > using Net::SMTP as well. Thanks..interpolation now works because I am now reading the file! thanks. -- Posted via http://www.ruby-forum.com/.