Skip to Content
author's profile photo Former Member
Former Member

E-mail attachment size

Dear all,

Can you help me with some suggestions on the following problem.

I have a query which is running within a background job once per week.

As a result, a spool file with around 200 pages is created.

The result of the spool file needs to be distributed to a couple of users.

The problem that I face is the following.

My main idea was, to assign a distribution list within the job configuration in transaction SM37 (button "Spool list recipient") to the background job

so that the result will be forwarded by e-mail to the affected users.

Unfortunately the e-mail attachment which I received within my tests is incomplete.

It includes not the complete data.

I only received around 17 pages of the 200 existing pages.

Can someone tell me why I only receive a small part of the result of the background job and how I can get the complete result?

Can I somewhere adjust / configure an e-mail attachment size?

Thank you very much for you help on this.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2011 at 11:00 AM


    Yes, there are limits for attachment size.

    One is the limit of the MPI buffer size from the ICM.

    Other limits can ben configured by parameters in table SXPARAMS.

    To get the details, look for the OSS notes on the subject.

    By the way sending big reports by mail is not necessary a good idea because it takes a lot of space in the database.

    Think about implementing mail and attachment purges.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Olivier,

      again thank you for your investigations but there is no need anymore for my problem.

      My main problem was solved by setting the parameters BTC_FIRSTLINE and BTC_LASTLINE in the table TSPOPTIONS.

      The problem that I am now facing is, as I wrote, the attachement limitation that is given by our Exchange server (20 MB).

      But that is ok.

      I was not aware that the attachment would reach a size of more than 20 MB and here I fully agree with you.

      20 MB is much to big for an attachment.

      So I will not use the attachement solution anymore.

      I need to find another solution to distribute the documents to the affected users.

      Again thank you very much for your help.

      Request solved.

      Best regards


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.