Hey Edunext, I'll reproduce the comment I left on the Public Issue Tracker thread which it appears was created parallel to this thread:
File objects are excluded from use in App Engine Standard Environment apps, although you have two options here: * Put a URL to the bucket object into the email * Use the Flexible Environment to deploy an app which can read use File objects This issue will close as WorkingAsIntended, since it's not a platform issue but a specific issue technical support question which has an existing answer available through a search of the documentation or Stack Overflow. Feel free to use this forum in future to report platform issues. If you'd like to ask a specific technical support question, post it to Stack Overflow, or if you have a more general question, feel free to post to the Google Groups forum for App Engine [1]. [1] https://groups.google.com/forum/#!forum/google-appengine;context-place=overview As a more general response, please make sure to only post in the most relevant forum. In this case, this forum was the correct place to post. Cheers! Nick Cloud Platform Community Support On Friday, July 29, 2016 at 1:10:46 PM UTC-4, Edunext Jain wrote: > > I am building Appengine application using JAVA > > I am using *mailgun api *for mail. > I have some HTML content which I want to send as attachment, Please help > me out to do so, as FileDataBodyPart takes object of java.io.File which I > am unable to create as per Appengine's restriction. > > Also I have some files stored on Google Storage and not able to send as > attachment due to same above mentioned reason. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/1e1f0c9f-9e42-4a93-a932-d8b5ea3e3436%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
