Email attachment greater than 5mb not getting picked

Hi Team,

I was trying to find the configurations to verify how to increase the attachment size.

When i am sending email to a outlook mailbox with less than 5mb email listner is picking it up and doing things needed(creating workobject and other things).

But when the email attachment is greater than 5mb then the mail is not getting picked from the outlook.

I am not able to trace it why it is not picking.

I was looking where to increase the size.

Can someone please help me. I have see few things from pdn and tried but it didnot help me.

I updated the size in service email process tab.

I added few fields in DSS and have set them to 25 but no luck.

prconfig/services/emailmaxsize/default

indexing/attachmentsizethreshold

Initialization/MaximumFileUploadSizeMB

@MallikarjunA5355 have you tried looking into your server config.

not sure which server you are using a sample config to be added in web.xml looks like this

<max-file-size>83886080</max-file-size>
<max-request-size>83886080</max-request-size>

if you don’t have access to server engage your server administrator add the above change and have him bounce the server.

let me know if this works

@abdulq95 --Hi Thanks for your speedy response i will try and update.

There is no server admin as per my knowledge and application is in AWS and we are using jboss i could not see any web.xml only prconfig.xml and

/config/jboss-eap.conf are there.

@abdulq95 Hi Adbul,

I verified the code and could find the below thing already in the config file.

But still not picking.

Hi @MallikarjunA5355,

We also faced similar issue and did below changes for Email Account, advanced section of receiver:

  • Set email/partialfetch dynamic system setting is set to true. This setting controls whether to use IMAP partial-fetch.
  • Set the email/fetchsize dynamic system setting to 1024000 bytes in advanced receiver. This setting controls the size of the fetch if IMAP partial-fetch is enabled.
    For Pega Platform 8.3 and later, the default value is 1024000 bytes. For Pega Platform versions prior to 8.3, the default value is 16 KB.

Using this we were able to attach 15MB email attachments(max outlook limit) also to case using listener in lesser duration.

@NEHAM736 --Thank you this helped me in UAT need to implement in preprod and prod.

Hi @MallikarjunA5355

If you found the solution can you please help us we are also facing the similar issue. User is sending multiple files sometimes it is going with all the files size beyond 5mb and some times it is not going less than 3 mb and I don’t see any error in the log . Can you please help me if possible.

Well in advance thanks