安卓邮件发送器 compile 'com.github.caiyongok123:EmailSender:1.0' 发送邮箱需要先开通smtp服务SenderEmailInfo senderEmailInfo = new SenderEmailInfo( "smtp.sohu.com", "25", "xxxxxx123@sohu.com", "*****邮箱密码或授权码****" );SendMailUtil.send(senderEmailInfo,"接受者邮箱@qq.com","邮件标题","邮件文字内容",附件file);//文字内容可以传"",不能用空指针,file没有的可以传空指针