Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package EmailSender;
- public class EmailSender {
- static String emailname;
- static String messagename;
- public static void main (String[] args) {
- InterfaceCode frame = new InterfaceCode();
- frame.setVisible(true);
- String[] to = {"Maurits_100@hotmail.com"};
- if(SendEmail.sendMail("bombertest100@gmail.com","op6ih5a3qk9hg",messagename, to))
- System.out.println("email send succesfully");
- else System.out.println("Error, Email didn't sended.");
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement