File Upload element only sending link instead of attachment

  • Profile Image
    mduggins01
    Asked on November 03, 2017 at 10:04 PM

    Hello, I have a file upload element on my form, and I have it enabled to include the upload as an attachment in the notification email. However, the only attachment I get is a .dat file instead of the uploaded file. I prefer to have the file emailed instead of having to click a link and download the file. What am I missing?

  • Profile Image
    Kevin_G
    Answered on November 03, 2017 at 10:40 PM

    I have cloned your form in my account and was able to get it working as expected: 

    15097631451.png

    Please note that if the file size is greater than 15 MB then the file will not be attached, I would also recommend you to try uploading the file without spaces in its name, please  let us know if this changes something. 

    Also, I can see you're attaching a PDF report of the submission, is it going fine on your end or it's also altered? 

    Please let us know. 

  • Profile Image
    mduggins01
    Answered on November 03, 2017 at 11:43 PM
    I apologize for not specifying that it is the Petty Cash Request form that is not working correctly. I just tested it again and got the same results as before.
    Thank you,
    Mike
    ...
  • Profile Image
    mduggins01
    Answered on November 03, 2017 at 11:43 PM
    Here is what happens when I test it. Notice that the submission pdf generates just fine, but the uploads don’t. This one has two uploads; one filename is connected by underscores and the other has spaces. As you see, neither of them attached as pdf.
    [cid:image002.jpg@01D354F4.4EFB45C0]
    ...
  • Profile Image
    Nik_C
    Answered on November 04, 2017 at 04:18 AM

    I'm sorry, but we didn't receive your screenshot, you could re-send it by following: https://www.jotform.com/help/438-How-to-Post-Screenshots-to-Our-Support-Forum so the image is properly attached to our Forum.

    But I tested your form several times (please ignore my submissions), and I was able to replicate this issue, the file is received as dat file.

    But I tried creating new Notifier:

    1509783479Screen Shot 2017-11-04 at 9.21

    In your form, but with my email, and it worked fine. Could you please try changing the recipient in that Notifier (Notification 2) to your email address and test if it is working.

    We'll wait for your response.

    Thank you!


  • Profile Image
    mduggins01
    Answered on November 13, 2017 at 10:43 PM
    After a number of tests, the issue seems to occur when I use one of my own email addresses as the “sender email” in the advanced settings. When I change the sender back to noreply@jotform.com, the attachments come through just fine. Any suggestions?
    Thanks,
    Mike
    ...
  • Profile Image
    Nik_C
    Answered on November 14, 2017 at 03:07 AM

    I tested by switching your sender email address to:

    1510646513Screen Shot 2017-11-14 at 9.05

    But I'm receiving emails from noreply@jotform.com still:

    1510646675Screen Shot 2017-11-14 at 9.07

    Does it happen to you as well?

    Who is the email provider of your email?

  • Profile Image
    mduggins01
    Answered on November 14, 2017 at 10:43 PM
    No. That is not happening to me. The email comes from whatever email address I select correctly, but when I use anything other than a @jotform address, the uploaded attachments end up as a .dat or .bin file, instead of the actual file type that was uploaded. The sender email address I am trying to use is from 1and1.com servers.
    ...
  • Profile Image
    Nik_C
    Answered on November 15, 2017 at 01:31 AM

    Yes, you're right, I was able to replicate this issue, it is coming as dot file. When I opened the dot file, this was the error:

    1510727312Screen Shot 2017-11-15 at 7.27

    I tried to research this error, and it is usually related to the sender or email client where the email is viewed.

    Could you please check with 1and1 if this issue could be related to them or is it common?

    Since I wasn't able to replicate it with some other email provider.

    We'll wait for your response.

    Thank you!