In file ./src/app/org/openmeetings/utils/mail/MailHandler.java
in method send, the are no property set for sending mail without SMTP
Atuth, i.e.
Session session = null;
if (emailUsername != null && emailUsername.length() > 0
&& emailUserpass != null &&
emailUserpass.length() > 0) {
//use SMTP Authentication
props.put("mail.smtp.auth", "true");
session = Session.getDefaultInstance(props,
new SmtpAuthenticator());
}else{
//not use SMTP Authentication
//This property has to be set
props.put("mail.smtp.auth", "false");
session = Session.getDefaultInstance(props,
null);
}
Without this property props.put("mail.smtp.auth", "false");, programm
can't auth to mail server.
Our SMTP server setup is so, that auth is occurs by restrictions on IP
adresses, but no by login:password.
Is it posible to add this property setup to source code?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"OpenMeetings User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/openmeetings-user?hl=en
-~----------~----~----~----~------~----~------~--~---