
package com.coleman.kingword.info.email;

import com.coleman.util.Log;

public class GMailSenderHelper {
    /**
     * send a mail to the specified account.
     * 
     * @param title mail title
     * @param msg mail content
     * @param attachFilePath null if with no attachment.
     */
    public static void sendMail(String title, String msg, String attachFilePath) {
        try {
            GMailSender sender = new GMailSender("kingword1984@gmail.com", "test33403140");
            sender.setAttachment(attachFilePath);
            sender.sendMail(title, msg, "kingword1984@gmail.com", "kingword1984@gmail.com");
        } catch (Exception e) {
            Log.e("SendMail", e.getMessage(), e);
        }
    }

}


package com.coleman.kingword.info.email;

import com.coleman.util.Log;

public class GMailSenderHelper {
    /**
     * send a mail to the specified account.
     * 
     * @param title mail title
     * @param msg mail content
     * @param attachFilePath null if with no attachment.
     */
    public static void sendMail(String title, String msg, String attachFilePath) {
        try {
            GMailSender sender = new GMailSender("kingword1984@gmail.com", "cg33403140");
            sender.setAttachment(attachFilePath);
            sender.sendMail(title, msg, "kingword1984@gmail.com", "kingword1984@gmail.com");
        } catch (Exception e) {
            Log.e("SendMail", e.getMessage(), e);
        }
    }

}

update the passworld of mail account