# Creating raw text from a TMail object

**URL:** <https://www.ruby-forum.com/t/creating-raw-text-from-a-tmail-object/165434>\
**Category:** Rails\
**Created:** [April 13, 2009, 11:39pm UTC](https://www.ruby-forum.com/t/creating-raw-text-from-a-tmail-object/165434 "2009-04-13T23:39:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![karl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/34f0e0/32.png) [@karl](https://www.ruby-forum.com/u/karl)\
**Post date:** [April 13, 2009, 11:39pm UTC](https://www.ruby-forum.com/t/creating-raw-text-from-a-tmail-object/165434/1 "2009-04-13T23:39:42Z")

</div>

I see many examples of converting a raw text email into a TMail object  
using the parse method, but how can I take an existing TMail object  
and convert it to raw text? In my case, I would like to dump the full  
text representation of the email to the database.

thx.

-karl
