I am building a component that we will use for creating newsletters and mailing them. For the newsletter template I have html and I have a css-file. What is the recommended way of adding the css to the email? I succeed in adding the html to the mail, but the css, since it’s in a different mail, I don’t know how to handle.
An external CSS file can be added to an email as a "related item", in the same way as an image file is added. The "href" attribute of the "link" tag in the HTML would use the CID of the CSS related item, or it would use the Content-Location of the related item. I'll create an example..
A simpler solution would be to use inline CSS within the HTML..