# Attaching file to email editor

**URL:** <https://www.ruby-forum.com/t/attaching-file-to-email-editor/113496>\
**Category:** Rails\
**Created:** [August 31, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/attaching-file-to-email-editor/113496 "2007-08-31T19:24:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/df788c/32.png) [@dgm](https://www.ruby-forum.com/u/dgm)\
**Post date:** [August 31, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/attaching-file-to-email-editor/113496/1 "2007-08-31T19:24:00Z")

</div>

I’m trying to use the mailto link to attach a file to the email editor.  
Something like this:

[email file](mailto:removed_email_address@domain.invalid?subject=Check%20out%20this%20file&body=see%0Aattachment&attachment='./pdf/myFile.pdf')

doesn’t seem to work. Any suggestions?

Does rails have something that manages this?
