Title: Email document as attachment
Last modified: November 11, 2016

---

# Email document as attachment

 *  [mhenry01](https://wordpress.org/support/users/mhenry01/)
 * (@mhenry01)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/email-document-as-attachment/)
 * I have setup a form and phpmailer function to send an email with the information
   regarding the current download page. Is there a way to grab the URL of the document
   page?
 * For example:
    A user clicks on a form from the tree view and it loads the download
   page. From there I would like to show some information on the screen and provide
   a share function (This is what I wrote) so user’s can email the form out. If 
   i can get the actual file URL, I can sanitize it for my script, just not sure
   how to get that.

The topic ‘Email document as attachment’ is closed to new replies.

 * ![](https://ps.w.org/wp-downloadmanager/assets/icon.svg?rev=978031)
 * [WP-DownloadManager](https://wordpress.org/plugins/wp-downloadmanager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-downloadmanager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-downloadmanager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-downloadmanager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-downloadmanager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-downloadmanager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mhenry01](https://wordpress.org/support/users/mhenry01/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/email-document-as-attachment/)
 * Status: not resolved