Whenever I publish a TRIRIGA business object or do something that should cause TRIRIGA to send an outgoing email, no email is sent and a Mail Authentication Exception error like the following appears in my server.log. I do not have EXTERNAL_MAIL_SERVER_USERNAME or EXTERNAL_MAIL_SERVER_PASSWORD values set, as I am using Anonymous SMTP authentication. My mail server indicates that there was a “generic failure” and it was unable to “canonify user and get auxprops”. Do I need to hard-code the values in order to get past the error?
2015-10-14 10:18:03,167 WARN
[com.tririga.platform.error.ErrorHandler](WFA:12020990 - 12564078 Associate:287434693 IE=287434676) Authentication failed; nested exception is javax.mail.AuthenticationFailedException: failed to connect[MID-620604269] com.tririga.platform.error.PlatformRuntimeException:
org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: failed to connect at [...]
No, you do not need to hard-code the EXTERNAL_MAIL_SERVER_USERNAME or EXTERNAL_MAIL_SERVER_PASSWORD values in order to get past the above Mail Authentication Exceptions and make TRIRIGA send emails. Instead, do the following…