This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
hi all , my question here is i want to send an email from a java application using JavaMail API, because i am setting the protocol type here in properties and in the transport type for sending the message, will it go only to the servers that support smtp, i want to send e-mail to all the systems what ever they use, yahoo ,hotmail etc.
please help. thanks
//Set the host smtp address Properties props = new Properties(); props.put("mail.smtp.host", "smtp.jcom.net");
// create some properties and get the default Session Session session = Session.getDefaultInstance(props, null); session.setDebug(debug);
Transport transport = session.getTransport("smtp");
Failure is not when you fall down; its only when you fail to get up again.