A tiny rxjava wrapped android smtp client mail library
Obtaining the instance
RxMail rxMail = RxMail.create();
Build the mail configure
RxMailBuilder rxMailBuilder = new RxMailBuilder(getApplicationContext());
rxMailBuilder.setType("text/html");
rxMailBuilder.setBody("body");
rxMailBuilder.setSubject("subject");
rxMailBuilder.setUsername("your@gmail.com");
rxMailBuilder.setPassword("password");
rxMailBuilder.setHost("smtp.gmail.com");
rxMailBuilder.setPort("465");
rxMailBuilder.setMailTo("another@gmail.com");
rxMailBuilder.addAttachments("/data/files/email.jpg");
Send the mail
rxMail.push(rxMailBuilder);
rxMail.push(rxMailBuilder.clone().setMailTo("your@gmail.com"));
Release
rxMail.finish();
If you would like to contribute code you can do so through GitHub by forking the repository and sending a pull request.