Update EmailSender.java

startConnection replaced with getConnection