When activating Amazon SES by installing the package, mails are not sent when using EasyShare or User Invite.
EasyShare:
org.nuxeo.mail.MailException: An error occurred while sending a mail with Amazon SES at org.nuxeo.mail.amazon.ses.SESMailSender.sendMail(SESMailSender.java:87) ~[nuxeo-mail-amazon-ses-2023.4.9.jar:?] at org.nuxeo.mail.MailServiceImpl.sendMail(MailServiceImpl.java:68) ~[nuxeo-mail-2023.4.9.jar:?] at org.nuxeo.ecm.platform.ec.notification.email.EmailHelper.sendmail0(EmailHelper.java:127) ~[nuxeo-platform-notification-2023.4.9.jar:?] at org.nuxeo.ecm.platform.ec.notification.email.EmailHelper.sendMailMessage(EmailHelper.java:86) ~[nuxeo-platform-notification-2023.4.9.jar:?] at org.nuxeo.easyshare.EasyShare.sendNotification(EasyShare.java:303) [nuxeo-easyshare-core-2023.4.9.jar:?] at org.nuxeo.easyshare.EasyShare$2.run(EasyShare.java:252) [nuxeo-easyshare-core-2023.4.9.jar:?] at org.nuxeo.easyshare.EasyShareUnrestrictedRunner.runUnrestricted(EasyShareUnrestrictedRunner.java:43) [nuxeo-easyshare-core-2023.4.9.jar:?] at org.nuxeo.easyshare.EasyShare.getFileStream(EasyShare.java:265) [nuxeo-easyshare-core-2023.4.9.jar:?] ... Caused by: com.amazonaws.services.simpleemail.model.AmazonSimpleEmailServiceException: Missing required header 'From'. (Service: AmazonSimpleEmailService; Status Code: 400; Error Code: InvalidParameterValue; Request ID: 2d8292be-7452-4814-b49f-84e997a1ef9b; Proxy: null) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1879) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleServiceErrorResponse(AmazonHttpClient.java:1418) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1387) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1157) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:814) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:781) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:755) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:715) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:697) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:561) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:541) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.doInvoke(AmazonSimpleEmailServiceClient.java:5977) ~[aws-java-sdk-ses-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.invoke(AmazonSimpleEmailServiceClient.java:5944) ~[aws-java-sdk-ses-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.invoke(AmazonSimpleEmailServiceClient.java:5933) ~[aws-java-sdk-ses-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.executeSendRawEmail(AmazonSimpleEmailServiceClient.java:4272) ~[aws-java-sdk-ses-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.sendRawEmail(AmazonSimpleEmailServiceClient.java:4241) ~[aws-java-sdk-ses-1.12.261.jar:?] at org.nuxeo.mail.amazon.ses.SESMailSender.sendMail(SESMailSender.java:84) ~[nuxeo-mail-amazon-ses-2023.4.9.jar:?] ... 110 more
User Invite:
org.nuxeo.mail.MailException: Failed to invoke operation: User.Invite, Failed to invoke operation User.Invite, An error occurred while sending a mail with Amazon SES at org.nuxeo.mail.amazon.ses.SESMailSender.sendMail(SESMailSender.java:87) ~[nuxeo-mail-amazon-ses-2023.4.9.jar:?] at org.nuxeo.mail.MailServiceImpl.sendMail(MailServiceImpl.java:68) ~[nuxeo-mail-2023.4.9.jar:?] at org.nuxeo.ecm.user.invite.UserInvitationComponent.generateMail(UserInvitationComponent.java:539) ~[nuxeo-invite-2023.4.9.jar:?] at org.nuxeo.ecm.user.invite.UserInvitationComponent.sendEmail(UserInvitationComponent.java:497) ~[nuxeo-invite-2023.4.9.jar:?] at org.nuxeo.ecm.user.invite.UserInvitationComponent.sendValidationEmail(UserInvitationComponent.java:453) ~[nuxeo-invite-2023.4.9.jar:?] at org.nuxeo.ecm.user.invite.UserInvitationComponent$RegistrationApprover.run(UserInvitationComponent.java:290) ~[nuxeo-invite-2023.4.9.jar:?] at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:123) ~[nuxeo-core-api-2023.4.9.jar:?] at org.nuxeo.ecm.user.invite.UserInvitationComponent.acceptRegistrationRequest(UserInvitationComponent.java:636) ~[nuxeo-invite-2023.4.9.jar:?] at org.nuxeo.ecm.user.invite.UserInvitationComponent.submitRegistrationRequest(UserInvitationComponent.java:617) ~[nuxeo-invite-2023.4.9.jar:?] at org.nuxeo.ecm.user.invite.UserInvitationComponent.submitRegistrationRequest(UserInvitationComponent.java:545) ~[nuxeo-invite-2023.4.9.jar:?] at org.nuxeo.ecm.automation.core.operations.services.UserInvite.run(UserInvite.java:87) ~[nuxeo-automation-features-2023.4.9.jar:?] ... Caused by: com.amazonaws.services.simpleemail.model.AmazonSimpleEmailServiceException: Missing required header 'From'. (Service: AmazonSimpleEmailService; Status Code: 400; Error Code: InvalidParameterValue; Request ID: 2499791f-360b-4fdf-8bd6-7d613f17f923; Proxy: null) at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleErrorResponse(AmazonHttpClient.java:1879) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.handleServiceErrorResponse(AmazonHttpClient.java:1418) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeOneRequest(AmazonHttpClient.java:1387) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeHelper(AmazonHttpClient.java:1157) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.doExecute(AmazonHttpClient.java:814) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.executeWithTimer(AmazonHttpClient.java:781) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.execute(AmazonHttpClient.java:755) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutor.access$500(AmazonHttpClient.java:715) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient$RequestExecutionBuilderImpl.execute(AmazonHttpClient.java:697) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:561) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:541) ~[aws-java-sdk-core-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.doInvoke(AmazonSimpleEmailServiceClient.java:5977) ~[aws-java-sdk-ses-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.invoke(AmazonSimpleEmailServiceClient.java:5944) ~[aws-java-sdk-ses-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.invoke(AmazonSimpleEmailServiceClient.java:5933) ~[aws-java-sdk-ses-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.executeSendRawEmail(AmazonSimpleEmailServiceClient.java:4272) ~[aws-java-sdk-ses-1.12.261.jar:?] at com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient.sendRawEmail(AmazonSimpleEmailServiceClient.java:4241) ~[aws-java-sdk-ses-1.12.261.jar:?] at org.nuxeo.mail.amazon.ses.SESMailSender.sendMail(SESMailSender.java:84) ~[nuxeo-mail-amazon-ses-2023.4.9.jar:?] ... 167 more