Support » Plugin: Contact Form 7 » Attachment not showing in email

  • Resolved Muhammad Assane

    (@programmer4techybirds)


    Hello,

    I have a form in a page,
    when I receive the email all the data is shown but the file attachment doesn’t come in the mail

    In my form the file code is [file* resume filetypes:txt|pdf|doc|docx limit:5mb]
    And in the mail in the File Attachments I’ve written [resume]

    I’ve tried to change the name but it didn’t work.

    If I write [resume] in the mail I get the name of the file uploaded

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter Muhammad Assane

    (@programmer4techybirds)

    I had this line in wp-config which was preventing the attachment to come in the email.

    define( ‘WPCF7_UPLOADS_TMP_DIR’, ‘wp-content/uploads/advanced-cf7-upload’ );

    I have commented the line and its working perfectly

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.