I am trying to send image as attachment using Send mail. but I am unable to get the image from resource , but if I try to send the image saved in sd card then it get successful send. here is the code which I use to get image from resource.
DataSource fds = new FileDataSource(
"android.resource://com.example.birth/" + R.raw.ic_mail2);