WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Send attached file (6 posts)

  1. jlazkano
    Member
    Posted 1 year ago #

    Hello, I want to know if there is an option to send a attached file.

    The file is located here:

    wp-content/uploads/example.pdf

    Thanks and best regards.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. buzztone
    Member
    Posted 1 year ago #

    See Setting up file attachments with a mail in File Uploading and Attachment

  3. jlazkano
    Member
    Posted 1 year ago #

    Thanks buzztone, but this page refers if the user upload the file, but I want to send and attached file (hosted in the server) to the user how contact with wordpress admin.

    Best regards.

  4. buzztone
    Member
    Posted 1 year ago #

    Same process is used. Put the full path to the relevant file on your server instead of the [your-file] tag in section D - see Setting Up Mail

  5. iliketopgun
    Member
    Posted 1 year ago #

    i'm trying to solve this problem, too. i tried your idea of putting the url of the relevant file into the file attachments section (section D). i also tried putting my url within brackets, and also trying [file my-url] -- but none of them resulted in there being an attachment sent.

    have you tried this before and had it work? is there another step?

    thanks for your help.

  6. jlazkano
    Member
    Posted 1 year ago #

    Same here, there is no way to send the attached file, I try lots of different ways:

    wp-content/uploads/example.pdf
    /var/www/site/html/wp-content/uploads/example.pdf

    Could someone test it please?

    Thanks for your replies.

    Best regards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.