props.put("mail.smtp.starttls.enable", "true");
props.put("mail.smtp.port", portnumber);
props.put("mail.smtp.host", "smtp.office365.com");
props.put("mail.smtp.auth", "true");
I am using this code for sending email in java using my linux machine. Please tell me which OS service it is using internally currently for sending mail.and I want to change this service to ssmtp . How will I send through ssmtp.
– Neeraj Jan 09 '17 at 07:19