Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public SMTPSend() {
- }
- public void msgsend() {
- String username = "mailadress@gmail.com";
- String password = "pwd";
- String smtphost = "smtp.gmail.com";
- String compression = "My SMS Compression Information";
- String from = "mailadress@gmail.com";
- String to = "+phonenumber@sms.gmail.com";
- String body = "Hello SMS World!";
- Transport myTransport = null;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement