Getting error while sending mail in java
问题 I was trying to send mail using java. The code i was using worked when I used it with GMail's SMTP server ("smtp.gmail.com"). But when I changed the code (smtp_host_name, smtp_port properties and authentication UserID/Pwd) to send email through the SMTP server of my ISP provider, this code failed. Here is my code- String host = "smtp server host of my isp provider"; Properties props = System.getProperties(); props.put("mail.smtp.host", host); props.put("mail.debug", "true"); props.put("mail