-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't send mail with attachment #8293
Comments
First Google result for Exception suggests the problem might have to do with classloader: |
rymsha
changed the title
lib-mail send with attachment: no object DCH for MIME type multipart/mixed
lib-mail can't send mail with attachment
Sep 3, 2020
rymsha
changed the title
lib-mail can't send mail with attachment
Can't send mail with attachment
Sep 3, 2020
rymsha
added a commit
that referenced
this issue
Sep 3, 2020
rymsha
added a commit
that referenced
this issue
Sep 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
XP version: 7.3.1
Java version: Tested both in enonic sandbox and standalone with OpenJDK Runtime Environment Zulu11.41+23-CA (build 11.0.8+10-LTS)
Installed apps: app-superhero-blog
In a JavaScript controller, trying to send an e-mail with one or more attachments with data from getAttachmentStream() on an image from the default cms repo fails with stack trace. I've verified that getAttachmentStream() returns actual data. If you comment out the line with
attachments: …
the e-mail will be sent without any issues.JavaScript controller code, using data from Superhero App as an example:
Stack trace:
XP also starts with the following warning in the log… no idea if it's relevant:
The text was updated successfully, but these errors were encountered: