• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to write a class to send email

tim2001

Lurker
Class Name
SendEmail

Function to do email sending

Properties
1. EmailApplication: String (Email Application to be used, eg "Gmail")
2. EmailLoginName: String
3. EmailLoginPassword: String
4. EmailSubject: String
5. EmailContent: String
6. EmailAttachment: String

Functions
1. SendEmail(): Send the email with subject <EmailSubject>, content <EmailContent> and with attachment <EmailAttachment> through the email application <EmailApplication> with login <EmailLoginName> and <EmailLoginPassword>
 
Back
Top Bottom