# Email data

**URL:** <https://www.ruby-forum.com/t/email-data/137818>\
**Category:** Ruby\
**Created:** [May 16, 2008, 4:38pm UTC](https://www.ruby-forum.com/t/email-data/137818 "2008-05-16T16:38:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![twaters](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/a6a055/32.png) [@twaters](https://www.ruby-forum.com/u/twaters)\
**Post date:** [May 16, 2008, 4:38pm UTC](https://www.ruby-forum.com/t/email-data/137818/1 "2008-05-16T16:38:26Z")

</div>

I have gathered data in my ruby script and would like to insert the data  
stored in my hashes into the email body. Is this done using puts or  
calling the method and having it output into the email? I have tested  
and sent the email using net/smtp, I just need a way to insert my data.

Thanks,  
Tim
