Sending an email in webМethods

Hi All,

Im sending out an email attachement in webМеthods using pub:client smtp service .

When the data is large we are not receiving the email.

But when the data is less we are getting emails perfectly.

Any idea or solution where emails can be sent in case of large data as well?

The data format is JSON Format.

Please provide more details to enable faster resolution.

  • The version of Integration Server you are working with? Some features may have been enhanced in later versions, best to specify the exact version / core fix details.
  • Define “large data”, what is the largest data that is successfully sent out, at what point does it break?
  • Are there any messages in the Integration Server logs?
  • What is the result when pub.client:smtp is executed?


Many email servers restrict the maximum size of attachments. This may not have anything to do with Integration Server.

This is one of the many reasons why using email for automated integrations is generally to be avoided.

1 Like

Is it required to send it as an email attachement?

  • If not then use SFTP or another way that is better suit for sharing large files.

  • If yes then the options are probably to compress the file (won’t do much for large files IMO), split them into chunks (but when received they need to be combined back) or ask the email service provider to increase the attachement max file limit (again there will be a limit).

In general I think SFTP is better.

As reamon mentioned the size of the attachment you are trying to send is exceeding the maximum size limit of the email server. Did you try sending it from the email client?

Also, you could consider storing the JSON data in a file or a database, and sending a link to the file or database record in the email instead of the entire data itself. This approach can also help in cases where the recipient might have trouble receiving large attachments.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.