1. Download our Official Android App: Forums for Android!

Apps How to write a class to send email

Discussion in 'Android Development' started by tim2001, Jun 26, 2011.

  1. tim2001

    tim2001 Lurker
    Thread Starter
    Rank:
    None
    Points:
    6
    Posts:
    4
    Joined:
    Jun 26, 2011

    Jun 26, 2011
    4
    1
    6
    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>
     

    Advertisement

    Lijap likes this.

Share This Page

Loading...