2 Replies Latest reply on Mar 8, 2019 11:22 AM by mayerw01

    wildfly-16.0.0.Final: Apparently "From address" is no more used as default from in email

    mayerw01

      As mentioned in the Help of 'Mail Session' configuration:

       

      From address that is used as default from, if not set when sending

       

      Apparently this is not the case anymore in wildfly-16.0.0.Final.

      For example I made a test with quickstart-16.0/mail/.

      When omitting the line

       

      message.setFrom(new InternetAddress(from));

       

      Sending mail fails with:

      com.sun.mail.smtp.SMTPSendFailedException: 554-Transaction failed

      554 Unauthorized sender address.

       

      I have the sane issue when replacing the line above with

       

      message.setFrom(new InternetAddress());

       

      I am pretty that this is working in wildfly-15