Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void NoticationEmail() {
- SenderEmail = "xxx@gmail.com";
- Subject = "Announcement";
- Message = "Test Email";
- Intent email = new Intent(Intent.ACTION_SEND);
- email.putExtra(Intent.EXTRA_EMAIL, new String[]{SenderEmail});
- email.putExtra(Intent.EXTRA_SUBJECT, Subject);
- email.putExtra(Intent.EXTRA_TEXT, Message);
- email.setType("message/rfc822");
- startActivity(Intent.createChooser(email, "Choose Email client :"));
- Intent pindah = new Intent(verification.this, AdminActivity.class);
- startActivity(pindah);
- }
Add Comment
Please, Sign In to add comment