01-25-2017 6:12 AM
Hi everyone,
Is there a way to restrict the size of attachment using function module or anything else while sending mail?
01-25-2017 6:31 AM
In SCOT, check for: Settings, Outbound Messages, Settings, Size Restriction for Outbound Messages.
(And of course, no longer use the old outdated FM but a class like CL_BCS to send messages...)
Regards,
Raymond
01-25-2017 6:31 AM
In SCOT, check for: Settings, Outbound Messages, Settings, Size Restriction for Outbound Messages.
(And of course, no longer use the old outdated FM but a class like CL_BCS to send messages...)
Regards,
Raymond
01-26-2017 2:07 PM
Hello Pooja,
Could you let me know what kind of attachment are planning to send ??
Thanks,
Vijay,
01-27-2017 10:31 AM
01-27-2017 12:05 PM
You can then set the maximum size for a document to be sent by setting parameters in the table SXPARAMS. You can maintain the table SXPARAMS with transaction SM30.
Parameter Parameter value
MAXLEN_BODYPART_SMTP 0 ... 999999999999
The parameter value determines the maximum size of a document (in bytes) that may be sent using the SAPconnect SMTP interface.
The value 0 means: No restriction
Refer SAP Note : 837300 - Size restriction when sending documents
07-26-2019 4:36 PM
Good answers.
You can goto SOST - Ulitities - General Parameters to check the parameter
MAXLEN_MIME_MESSAGE_SMTP = 5242880 (5MB)
or /add the table SXPARAMS on SM30 too.