Title: File Name Only
Last modified: July 15, 2020

---

# File Name Only

 *  Resolved [Juan Rodriguez](https://wordpress.org/support/users/johnnyr209/)
 * (@johnnyr209)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/file-name-only/)
 * In the email confirmation can I receive only the file name instead of a link 
   to the file?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/file-name-only/#post-13128694)
 * Hi [@johnnyr209](https://wordpress.org/support/users/johnnyr209/) ,
 * You need to check “Send Attachment as link” optino under Contacts -> Drag & Drop
   Upload – Settings.
 * To manage mail template, go to Contact Forms edit specific form and Select Mail
   tab. In Message Body add generated code from mfile. ( Example Below )
 * Message Body : [your-message]
 * File Links : [upload-file-xxx]
 *  Thread Starter [Juan Rodriguez](https://wordpress.org/support/users/johnnyr209/)
 * (@johnnyr209)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/file-name-only/#post-13128734)
 * I’ve tried with the “send attachment as link” checkbox on and off, but I get 
   the same result. It always comes as a link. I would just like the file name is
   that possible?
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/file-name-only/#post-13128778)
 * Currently, it doesn’t have a features like that.
 * But there’s a filter that you can tweak, just copy and paste the snippet code(
   below) inside your **“themes/{themename}/functions.php”** file.
 * [https://pastebin.com/AueB9PYA](https://pastebin.com/AueB9PYA)
 * Thanks, just let me know if you have any other question.
 *  Plugin Author [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * (@glenwpcoder)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/file-name-only/#post-13165469)
 * I haven’t heard from you in a while, closing this thread.
 * If you have any question please open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘File Name Only’ is closed to new replies.

 * ![](https://ps.w.org/drag-and-drop-multiple-file-upload-contact-form-7/assets/
   icon-128x128.jpg?rev=1984850)
 * [Drag and Drop Multiple File Upload for Contact Form 7](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/drag-and-drop-multiple-file-upload-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/drag-and-drop-multiple-file-upload-contact-form-7/reviews/)

## Tags

 * [file](https://wordpress.org/support/topic-tag/file/)
 * [mail](https://wordpress.org/support/topic-tag/mail/)
 * [name](https://wordpress.org/support/topic-tag/name/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 4 replies
 * 2 participants
 * Last reply from: [Glen Don Mongaya](https://wordpress.org/support/users/glenwpcoder/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/file-name-only/#post-13165469)
 * Status: resolved