Email attachment issue

Hello team,

I am trying to copy the link from powerbi report and emailing from UiPath.
so using get from clipboard activity. But its copying only link but i need full
open tab also like below

@Jezna_Jose1

ideally to clipboard only link is getting copied I guess

can you try manually

cheers

@Jezna_Jose1,

If manually you are getting desired solution then, send an email manually → get the emails HTML body → try making it dynamic.

Copy/Pasting from Clipboard will give you only plain text link.

Thanks,
Ashok :slight_smile:

Hello @ashokkarale @Anil_G ,

I am using the Send SMTP Mail message with below

"

Hi,

Please see below Snapshot as of the previous workday as well as the link to access the detailed report.



reportlink : "+ reportlink +"

"+"

"+"

"+"

"+"

"+"

"+"

"+"

Any questions on the report please reach out to abc@gmail.com

Thanks

"

in this screenshot i am taking and converting to string using base64 and copying the link from powerbi and adding that in email body and sending that from UiPath only

Hello @ashokkarale @Anil_G ,

I am using the Send SMTP Mail message with below

"<p>Hi,

Please see below (and attached) the DMR Snapshot as of the previous workday as well as the link to access the detailed report.



reportlink : "+ reportlink +"

"+"

"+"

"+"

"+"

"+"

"+"

"+"

Any questions on the report please reach out to fpircher@murad.com and eetienne@murad.com

Thanks

/"

in this screenshot i am taking and converting to string using base64 and copying the link from powerbi and adding that in email body and sending that from UiPath only

img src=‘data:image/png;base64," + BLOB + " width=" + width.ToString + " height=" + height.ToString + "’/>
reportlink : "+ reportlink +

in this screenshot i am taking and converting to string using base64 and copying the link from powerbi and adding that in email body and sending that from UiPath only

@Jezna_Jose1,

Share the screenshot of your code. Let’s see how you are doing it.

Thanks,
Ashok :slight_smile:

@Jezna_Jose1

I beleive you need yo include an a tag

Cheers


'attaching link copied and screenshot in email id

Hello @Anil_G
Can you please help me how to include a tag

Doing CTRL+C and Get From Clipboard isn’t how you do things like this.

You should be using the appropriate activity (ie Get Text, Get URL, etc) to get that link.

Hello @postwick ,

Thank you so much will try the same and how to increase the size of screenshot taken from a site

What do you mean by increase the size? If you do not indicate an element (ie there is no selector), the Take Screenshot activity will just take an image of the entire screen.

Hello @postwick
Take screenshot activity is taking the screenshot from the screen and tring to convert to byte using base64 and attaching in email body in UiPath but i need to increase the size of screenshot also.

Wouldn’t you do that with the properties of the HTML image tag?

Hello @postwick ,

I am facing 2 issues.

  1. I am copying link from site
    copy link from site

and this i am trying to get from clipboard activity. which i am attaching to email body using variable.

  1. second issue is that i am taking the screenshot using take screenshot activity and converting to byte using base64 and attaching the screenshot using img src=‘data:image/png;base64," + BLOB + " width=" + width.ToString + " height=" + height.ToString + "’ …in the same email body that screenshot i need to increase the size.

Thanks and Regards

As I said, you increase the size by changing the width and height properties in that IMG tag. You have width.ToString so you could do (width*1.5).ToString, for example, to make it wider. Or you could hardcode width=‘80%’ in order to make it fill 80% of the user’s available screen (take out the height property)

Hello @postwick,
This is not working.I tried using the solution mentioned in this link

but i am getting error Compositing.Quality error . any idea which package need to be installed
@lakshman

Hello @lakshman,

Can you please also suggest something i was using the resize image solution mentioned in one of the link. But its getting error. Can you please let me know which package need to be installed getting constants issues for compositing.quality

If setting the width and height aren’t working, then something is wrong with your HTML. View source of the email and post it here.