EmailLibrary | Ranorex Help Center
Help CenterUser GuideRanorex Studio expert

EmailLibrary

The method in this library replicates most of the functionality of the ⇢ Email module. The only difference is that instead of the three variables for attaching the test report, the Email method has a single argument for attaching a file. The rest of the arguments correspond to the variables of the module. Please refer to them for more details.

To use the method, simply ⇢ add it to the desired recording modules.

String attachment

The path to the file you want to attach to the email.

Upon execution, the method returns a boolean value, i.e. true or false, that corresponds to whether the email was sent successfully or not. Like other return values, you can pass it on to other actions or modules.