Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5114 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

trying to send html email using getAsCSS function but when i use EmailAttachFileInline with that function it doesn't work I take the getAsCSS function away and then my image comes through

any idea ?

Posted (edited)

GetAsCSS turns your text into html, so if you have HTML code in your text field and then use the getascss function your HTML will be written as literal text in your HTML, rather than HTML code. Writing would normally show you an image, but getascss($text) (where $text is ) would give you text in the body of your email that says . If you look at the HTML you will see that the tags are escaped after calling getasCSS so that everything shows up as literal text.

You will either need to use some sort of placeholder text where you want the image and then do a find and replace or not use the getascss function when you plan on writing HTML code.

Edited by Guest

This topic is 5114 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.