In my application, I want to be able to send email. I am able to send email with text. However, I want to add attach file or photo from device memory in email. Does anybody have any ideas on how can I do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is the demo of doing “Email with file attachment”.
Note: Below code is taking file stored inside your sd-card and add as an attachment to the email.