# Looking for a way to detach attachment from email at arrival

**URL:** <https://www.ruby-forum.com/t/looking-for-a-way-to-detach-attachment-from-email-at-arrival/156269>\
**Category:** Ruby\
**Created:** [December 23, 2008, 6:10pm UTC](https://www.ruby-forum.com/t/looking-for-a-way-to-detach-attachment-from-email-at-arrival/156269 "2008-12-23T18:10:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asif\_Iqbal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c0e974/32.png) [@Asif\_Iqbal](https://www.ruby-forum.com/u/Asif_Iqbal)\
**Post date:** [December 23, 2008, 6:10pm UTC](https://www.ruby-forum.com/t/looking-for-a-way-to-detach-attachment-from-email-at-arrival/156269/1 "2008-12-23T18:10:39Z")

</div>

I am looking for a ruby way to receive an email with attachment,  
detach the attachment, convert it to a URL, insert the url in the body  
and send the email away to the recipeint.

I see the modules ActionMailer and TMail as possible module to handle  
the email. But yet to find a somewhat complete solution to this core  
requirement.

I am new to ruby and like some suggestion and/or direction on solving  
this problem

Thanks
