Size: a a a

2021 February 21

クリシェナ (Krishna)... in Uipath RPA
guys - Can we call CSS style sheets while sending an email ... Or we need to code inline CSS while buildig HTML
источник

P

Prateek in Uipath RPA
クリシェナ (Krishna)
guys - Can we call CSS style sheets while sending an email ... Or we need to code inline CSS while buildig HTML
Why don't you compose the email in HTML and add CSS code to itself instead of attaching external CSS files ?
источник

DM

David Mercado in Uipath RPA
Yes in this case is better to write the css within the same html , using a style tag
источник

DM

David Mercado in Uipath RPA
I think you can also do the same with JavaScript if you want to animate your email, you can add your code within a script tag
источник

クリシェナ (Krishna)... in Uipath RPA
Prateek
Why don't you compose the email in HTML and add CSS code to itself instead of attaching external CSS files ?
Thanks
At last .. I did same
Was thinking if there is an option to refer CSS
источник

P

Prateek in Uipath RPA
クリシェナ (Krishna)
Thanks
At last .. I did same
Was thinking if there is an option to refer CSS
Will the receiver have ready access to download the CSS file - I don't think so. That's why. Keeping it simple will give you stable results.
источник
2021 February 22

クリシェナ (Krishna)... in Uipath RPA
クリシェナ (Krishna)
Thanks
At last .. I did same
Was thinking if there is an option to refer CSS
Let me put my question in a more detailed manner...
Please see the test.txt file attached.. it contains in line  CSS for alternate row coloring..
if i save the file as Test.HTML and open in a browser , i can see the alternate rows colored...
no issues till now....
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Now in uipath, send out look message
i open test.txt file using Read text
use send email and past the text file .. with ISbodyhtml selected.. ALternro coloring is not appearing in email..
what is that I am missing.. Screen shots in next message
источник

クリシェナ (Krishna)... in Uipath RPA
источник

クリシェナ (Krishna)... in Uipath RPA
источник

クリシェナ (Krishna)... in Uipath RPA
источник

クリシェナ (Krishna)... in Uipath RPA
FIrst picture - Web version
last one - Email generated from Uipath with no coloring... '
источник

DM

David Mercado in Uipath RPA
Can you show the html file ?
источник

クリシェナ (Krishna)... in Uipath RPA
источник

DM

David Mercado in Uipath RPA
I don’t see errors,
источник

DM

David Mercado in Uipath RPA
Why did you select IsDraft option ?
источник

DM

David Mercado in Uipath RPA
What mean draft
источник

クリシェナ (Krishna)... in Uipath RPA
it will come to my draft folder... it wont fire the email
источник

DM

David Mercado in Uipath RPA
I don’t know if for outlook the html correctness is more strict than for browser, maybe you are missing the doctype
источник

DM

David Mercado in Uipath RPA
источник

クリシェナ (Krishna)... in Uipath RPA
doctype at the top of the HTML code?
источник