Skip to main content
1-Visitor
January 19, 2017
Question

SendMailwithAttachment Error

  • January 19, 2017
  • 2 replies
  • 4004 views

Hi developers,

I'm trying to send a mail with a attachment.

But it kept result :Wrapped javax.mail.internet.ParseException: Expected '/', got null Cause: Expected '/', got null

or

Wrapped com.thingworx.common.exceptions.InvalidRequestException: File Does Not Exist Cause: File Does Not Exist


I have check it, there is a /data.zip  file in my filerepository.

2 replies

20-Turquoise
January 19, 2017

What is the mail extension version you are using and where was it downloaded from? (you can check the  version through the Import/Export -> Extensions -> Manage)

lwei1-VisitorAuthor
1-Visitor
January 20, 2017

Hi, the version is 3.3.1

5-Regular Member
January 19, 2017

Lee, what MIME-type are you using for the zip file? make sure it matches the required type, you can see the list of MIME-type for reference here MIME Types - The Complete List

lwei1-VisitorAuthor
1-Visitor
January 20, 2017

Hi! After using the correct MIME-type it still result

Missing start boundary

5-Regular Member
January 20, 2017

Hi Lee, its not resulting in the same error so the earlier issue was indeed with the MIME Type, could you share what exactly is your configuration while using this service? and just to be sure your email service is working normally with emails getting sent and received?