Celebrate WordCamp Europe - 30% OFF! Use coupon WC30 - View Details

File Uploads Appear as Code in Email

If your email is interpreting file uploads as jumble of letters (also know as Base64 encoding), you will need to disable inline images in emails. This only happens in some email readers. Mac Mail, for example, does not have this issue and shows inline images correctly.

An example of this in GMail is shown below:

WS Form - Inline Image Troubleshooting


To stop inline images in emails:

  1. Click on Settings in the WordPress admin menu under WS Form.
  2. Click on the Variables tab.
  3. Uncheck Show File Preview.
  4. Click Save.

WS Form will then stop embedding the images in the email itself. Next you just need to tell WS Form to include that upload as an email attachment as opposed to adding it inline. To do that:

  1. Click on the Actions icon when editing your form.
  2. Click on the gear icon next to Send email.
  3. Scroll down to Attachments and click the  icon to add your file upload field as an attachment.
  4. Click Save.

You will now find that the file upload is included as an attachment as opposed to being added inline in the email.