Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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
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)
Hi, the version is 3.3.1
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
Hi! After using the correct MIME-type it still result
Missing start boundary
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?
Hello Lee Wei,
Please refer to this w3 specification: RFC1341(MIME) : 7 The Multipart content type.
What MIME-type did you use? I had the same problem for zip files, but since in mime Type I put application/zip - it's working fine.
Regards,
J.