Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package vyuka;
- public class Main {
- public static void main(String[] args) {
- // TODO Auto-generated method stub
- try {
- EmailSender sender = new EmailSender("smtp.utb.cz", 25);
- sender.send("you@utb.cz", "you@utb.cz", "Email from Java", "Funguje to?\nSnad...");
- sender.close();
- } catch (Exception e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement