Ich versuche eben einen anderen Ansatz - com.liferay.util.mail.MailEngine
Dort kann ich ebenfalls versenden, jedoch schluckt die Klasse die MessagingException!
1
2-- Auszug com.liferay.util.mail.MailEngine, Zeile 438 --
3
4 private static void _send(
5...
6 }
7 catch (MessagingException me) {
8 if (me.getNextException() instanceof SocketException) {
9 if (_log.isWarnEnabled()) {
10 _log.warn(
11 "Failed to connect to a valid mail server. Please " +
12 "make sure one is properly configured. " +
13 me.getMessage());
14...
Por favor, faça login para denunciar.