• Hi,
    I’ve just started experimenting with this plugin and it looks like it will meet my needs very well. Thank you for your work.

    I have a form that just requires a file upload and I’m using the ‘nmr_create_attachment_file_name’ hook to set the filename to a required format. I note that when no email is sent by the form such as when skip_mail:on is set in CF7 Additional Settings then the uploaded file is not saved.

    Is this the expected outcome if no email is sent?

    My workaround is to enable mail to be sent in the CF7 form. The email address is a forwarder on my site that is set to ‘discard’ using cPanel -> Forwarders -> Add Forwarder -> Advanced Options -> Discard

    I’m asking just to clarify what I’ve assumed to be correct given your description:

    “This plugin will save uploaded files to Media Library before email is sent by CF7.”

    Thanks and best regards

Viewing 1 replies (of 1 total)
  • Plugin Author mirceatm

    (@mirceatm)

    Hi,
    The entry point into this plugin is indeed Contact Form 7 action / event: ‘wpcf7_before_send_mail’
    Depending on the CF7 version this is called at various time and conditions. Please check CF7 code for more details (hint: plugins\contact-form-7\includes\submission.php line 86 for CF7 v7.5.5.3)

    • This reply was modified 2 years, 11 months ago by mirceatm.
Viewing 1 replies (of 1 total)
  • The topic ‘File not saved when CF7 Additional Settings skip_mail: on’ is closed to new replies.