I am trying to write a Java program using JavaMail to send an email between 2 users. I have my Appengine added to mail.jar and activation.jar files in the project because I have reason to throw the exceptions read somewhere that the functionality is already available appengine .jar files but my program is throwing the following exception: -
exception in thread "main" com.google.apphosting.api.ApiProxy $ CallNotFoundException: API package 'mail' or 'call ()' was not found. - Hide quoted text - on com.google.appengine on com.google.apphosting.api.ApiProxy.makeSyncCall (ApiProxy.java:48) on com.google.apphosting.api.ApiProxy.makeSyncCall (ApiProxy.java:95). On api.mail.MailServiceImpl.doSend com.google.appengine.api.mail.MailServiceImpl.send (MailServiceImpl.java:95) (MailServiceImpl.java:32) on com.google.appengine.api.mail.stdimpl.GMTransport. SendMessage (GMTransport.java:247) javax.mail.Transport.send (Transport.java:95) javax.mail.Transport.send (Transport.java:48) On weatherForecast.SendEmail.main (SendEmail.java:40 ) I have read in the following post: I need to work things to remove appengine.jar files from my project. But my web application also includes a .jsp file rendering containing some data when posted on google appengine and pops up with the project once i have the page welcoming to my google app which fails to work away .jars. It helps me get rid of the exception though. Can anyone please write an email program in a way and suggest that it works on a Google appengine project?
Text after "div class =" itemprop = "text">
It is likely that you can still include a .jar file in some accident That should not be included.
Right-click on your project folder and Czech:
- Properties -> Java
- Properties -> Java EE modules reliance
Also make sure that you have a separate location for your project in Jar / war / WEB-INF / lib / , Jar, which should not be uploaded to Google Should be stored on, I should advise / lib / .
Comments
Post a Comment