Send SMTP Mail Message: Index (zero based) must be greater than or equal to zero and less than the size of the argument list

Hi everyone,

I am using REFramework and in ‘No data’ section the robot will send an update email with a .txt file attachment. But I am getting an error ’ Send SMTP Mail Message: Index (zero based) must be greater than or equal to zero and less than the size of the argument list’ while trying. Any idea how to solve this?


Config file:
2

Hey @Sabreen

Your body part of SMTP is throwing this error.
Make sure you are not misssing any value while formating value.

String.format(“{0}”, provide a argument for this value.)

@Lakshay_Verma Thanks a lot! That was really amazing. I completely skipped the body part while debugging.

1 Like

@Sabreen

Happy Automation :slight_smile:

1 Like

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