mc
This commit is contained in:
@@ -239,13 +239,13 @@ public class CallerIdClient {
|
||||
String from = config.getString("e-mail adress");
|
||||
String pass = config.getString("e-mail password");
|
||||
Properties props = System.getProperties();
|
||||
props.put("mail.smtp.ssl.enable", "true");
|
||||
// props.put("mail.smtp.starttls.enable", "true");
|
||||
props.put("mail.smtp.ssl.enable", "true"); // Arcor
|
||||
// props.put("mail.smtp.starttls.enable", "true"); // Google Mail
|
||||
props.put("mail.smtp.host", host);
|
||||
props.put("mail.smtp.user", from);
|
||||
props.put("mail.smtp.password", pass);
|
||||
props.put("mail.smtp.port", "465");
|
||||
// props.put("mail.smtp.port", "587");
|
||||
props.put("mail.smtp.port", "465"); // Arcor
|
||||
// props.put("mail.smtp.port", "587"); // Google Mail
|
||||
props.put("mail.smtp.auth", "true");
|
||||
|
||||
String[] to = config.getStringArray("recipient");
|
||||
@@ -277,7 +277,7 @@ public class CallerIdClient {
|
||||
|
||||
public static void main(String[] args) {
|
||||
BasicConfigurator.configure(new ConsoleAppender(new PatternLayout("%d{ISO8601} - %m%n")));
|
||||
log.info("Starting CallerIdClient version 1.0.2");
|
||||
log.info("Starting CallerIdClient version 1.1.2");
|
||||
|
||||
JSAP jsap = new JSAP();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user