I am trying to follow the example at 
http://code.google.com/appengine/docs/java/mail/overview.html
to add the Mail Java API to my application. According to
http://code.google.com/appengine/docs/java/mail/overview.html#Sending_Mail_with_the_JavaMail_API,
"All of the JavaMail classes you need are included with the App Engine
SDK. Do not add Sun's JavaMail JARs to your app; if you do, the app
will throw exceptions." I have installed App Engine SDK (http://
code.google.com/appengine/docs/java/gettingstarted/installing.html)
but have been unable to add the following imports to my code:

import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeMessage;

When I try to add one of the above imports to my source code the
complaint is "The import javax.mail can not be resolved." I see some
javax.* packages in the project android.jar such as javax.net and
javax.xml, but no javax.mail.*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to