Title: Mail attachment through variable
Last modified: August 24, 2018

---

# Mail attachment through variable

 *  [Harm10](https://wordpress.org/support/users/harm10/)
 * (@harm10)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/mail-attachment-through-variable/)
 * I am trying to use the mail attachment with a variable set in the form (not through
   upload file) and although the value of the variable reflects the correct location
   in uploads it does not work.
    If I specify the value directly in the mail attachment
   field it works. I assume this has something to that the value is only used to
   look for a file in the wpcf7_uploads folder? So if the file is not found can 
   this value also be used to look into home folder or uploads folder like it does
   for fixed strings?

Viewing 1 replies (of 1 total)

 *  Thread Starter [Harm10](https://wordpress.org/support/users/harm10/)
 * (@harm10)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/mail-attachment-through-variable/#post-10729758)
 * I hope my request was noticed? If I need to put it forward elsewhere please say
   so?

Viewing 1 replies (of 1 total)

The topic ‘Mail attachment through variable’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [attachment](https://wordpress.org/support/topic-tag/attachment/)
 * [mail](https://wordpress.org/support/topic-tag/mail/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * 1 reply
 * 1 participant
 * Last reply from: [Harm10](https://wordpress.org/support/users/harm10/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/mail-attachment-through-variable/#post-10729758)
 * Status: not resolved