Reputation: 701
I keep getting the error "javax.mail.Message is not supported by Google App Engine's Java runtime environment" for using Message class and other classes from javax.mail in my GAE java project. I haven't yet found my exact solution for this problem yet, im just assuming its due to my some inconsistencies in JRE System Library and App Engine SDK. Please let me know if anyone has any solution or advice regarding this.
App Engine SDK [App Engine - 1.9.11] JRE System Library [Java SE 7 [1.7.0_67]]
Upvotes: 0
Views: 124
Reputation: 6566
Did you read the note here that says :
Do not add Oracle®'s JavaMail JARs to your app; if you do, the app will throw exceptions.
In eclipse, search for some of the classes from the java mail package (like Transport) and check if they are found in jars outside the GAE SDK or JAVA SDK.
Upvotes: 1
Reputation: 13057
Of course you can use javax.mail.Message
in Appengine. It is described here: https://cloud.google.com/appengine/docs/java/mail/usingjavamail
Upvotes: 0