How do i attach an image to the email?

variable
arguments

#1

I created a recording, took a screenshot and saved the screenshot with a variable. How do I change the image to an argument so that i am able to email the image to myself.


#2

Once you have taken the screenshot and have an image variable. You can use "save Image " activity to save the image as .jpg. The filepath of this saved image can be added to send mail activity as an argument.


#3

Can you show me how i can achieve this?


#4

sc.xaml (5.7 KB)


#5

Thank you, this helped a lot!


#6

Hey Sourav_Anand do u know of a naming convention for the images i can use such that when I run the program it will not have the same name?


#7

for every run once you send the attachment after that you can delete the image.
But if you want to store all the images, you can name the images as per current time stamp which will be unique.


#8

How do i name the images as the current time stamp?