I'm trying to send an email[NO INTENT] from my application , but it does not send. Can maybe anyone tell me what wrong there is no error in LOGCAT.
final Button send = (Button) this.findViewById(R.id.btnSend);
send.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
try
{
javamail sender = new javamail("MY EMAIL", "My Password" );
sender.sendMail("HI",
"I'm trying Androin Email :)",
"Person I sent to",
"djkgotsod@gmail.com");
Log.d("send", "Owk");
} catch (Exception e) {
Log.e("SendMail", e.getMessage(), e);
}
}
});