Dear Ivy Team, When I attach some attachments and total size for attachment greater than about 8MB I can not send email otherwise I can. I don't know whether there is a configuration about it or not. Do you have any idea about it? Thank you Ivy Team

asked 23.04.2018 at 05:51

maidanh's gravatar image

maidanh
(suspended)
accept rate: 0%

Do you have a stack trace in the log?

(23.04.2018 at 05:54) Alex Suter ♦♦ Alex%20Suter's gravatar image

I use the "Error Start" when i print "ivy.log.error(exception)" it just a text about "ivy:error:email" nothing else

(23.04.2018 at 06:03) maidanh maidanh's gravatar image

I found something when i log with "error.stacktrack" see my link https://jsonformatter.org/json-editor/8d259f

(23.04.2018 at 06:32) maidanh maidanh's gravatar image

I need the real cause: https://answers.axonivy.com/questions/2249/how-to-get-root-cause-of-bpmexception

Or simply:

Throwable cause = error.getTechnicalCause();
Throwable parent = cause.getCause();
while (parent != null) {
   cause = parent;
   parent = cause.getCause();
   break;
} 
ivy.log.info(cause);

Or even better: Remove the Error Start. And check the log files.

It could be possible that your email server limits to 8mbs.

(23.04.2018 at 06:42) Alex Suter ♦♦ Alex%20Suter's gravatar image

I got the rcause Caused by: com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Message size exceeds fixed maximum message size see this link https://jsonformatter.org/json-editor/a7e952 the question is how can i increase it for local and server

(23.04.2018 at 06:58) maidanh maidanh's gravatar image

The root cause is:

com.sun.mail.smtp.SMTPSendFailedException: 552 5.3.4 Message size exceeds fixed maximum message size

Your smtp server is telling you that your message is too big. Change the configuration of your smtp server to allow larger messages, or send smaller messages.

link

answered 23.04.2018 at 07:29

Alex%20Suter's gravatar image

Alex Suter ♦♦
3.1k122247
accept rate: 84%

edited 23.04.2018 at 07:30

Thank you I got it, when i change to other smtp it can sent successful, it depends on smtp server that i'm using

(23.04.2018 at 07:45) maidanh maidanh's gravatar image

please accept this answer :) - clicking on the accept icon

(23.04.2018 at 07:48) Alex Suter ♦♦ Alex%20Suter's gravatar image

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×34

Asked: 23.04.2018 at 05:51

Seen: 1,776 times

Last updated: 23.04.2018 at 07:48