Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onLocationChanged(Location loc)
- {
- // Call the GmailSender as per the example
- try {
- GMailSender sender = new GMailSender("username@gmail.com", "password");
- sender.sendMail("This is Subject",
- "This is Body",
- "user@gmail.com",
- "user@yahoo.com");
- } catch (Exception e) {
- Log.e("SendMail", e.getMessage(), e);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement