• Hi,

    We have a contact form with five file upload fields. I have set a maximum of 5MB per file and also our server allows us to upload up to a combined total of 60MB per submission.

    Despite this, the emails fail for anything over a combined total of 2MB with a message stating ‘There was an error trying to send your message. Please try again later.’

    The submission and the files do get stored in the WordPress admin (courtesy of a CF7 DB plugin), so it seems as though CF7 is able to send to WordPress but is unable to attach them to an email, which promps the error message.

    As a workaround, I would like to simply add links to the files within the email body rather than as attachments. The issue here is that CF7 dynamically renames the files so, for example, adding the below to the email body will not return a link to the image:

    websitename.com/wp-content/uploads/wpcf7_uploads/[file-name]

    Is there a solution to stop CF7 renaming the files and keeping them inside the wpcf7_uploads folder?

    Many thanks in advance

    • This topic was modified 2 years, 4 months ago by austin1988.
  • The topic ‘Add link to file upload in the email body rather than as an attachment’ is closed to new replies.