Reportportal: Unable to set up email integration with service account as username [v5]

Created on 11 May 2020  路  3Comments  路  Source: reportportal/reportportal

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
Plugins Notification feature request

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 馃檮

All 3 comments

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

Was this page helpful?
0 / 5 - 0 ratings