Describe the bug
Try setting setting up e.g. AWS SMTP server where username is service account (i.e. not a valid email address)
Since as far as I understand the code tries to send email to that username here
https://github.com/reportportal/service-api/blob/a256236df4f9687775429f25cda0a816bf6a4c29/src/main/java/com/epam/ta/reportportal/core/integration/util/EmailServerIntegrationService.java#L131
it obviously fails with
An error occurred while connecting to server: Email server is not configured or configuration is incorrect. Unable to send connection test email. Failed messages: javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid RCPT TO address provided
As a workaround it seems that connection test is not invoked when you add new email integration first without auth enabled, edit it and then change configuration 馃檮
For now we do not support integration with the AWS e-mail server.
We have added it the backlog
@evjlobanova is AWS email server got implemented as i got an error
Most helpful comment
As a workaround it seems that connection test is not invoked when you add new email integration first without auth enabled, edit it and then change configuration 馃檮