Does anyone knows if it’s possible to use css in an html mail? and if it’s possible, how?
any help is welcome
thanks in advance
Does anyone knows if it’s possible to use css in an html mail? and if it’s possible, how?
any help is welcome
thanks in advance
Subject: html e-mail w/css
It is possible, but if it is being sent to Notes, you should be aware that the Notes client ignores most CSS in MIME mail.
Subject: RE: html e-mail w/css
thanks Ben,
but what about if I want/need to send a styled html mail to the internet (i.e. hotmail, gmail, etc)? it’s possible?
regards
Subject: RE: html e-mail w/css
It is certainly possible. although it requires a bit of programming. You can use the MIME classes to build a MIME e-mail with any combination of HTML and CSS you like. If that is too difficult, you can use a product such as our Midas Rich Text LSX to do the same for you. In either case, the end result is MIME sent out with combined CSS and HTML.
Subject: RE: html e-mail w/css
actually I’m using NotesMimeEntity class, and I assign to the NotesMimeEntity.SetContentFromTex an HTML tagged string (a NotesStream), with my css defs, but I think that not all the styles are respected, because when I send the mail, I don’t see the text formatted as it should be, if the css were respected.
any idea?
Subject: RE: html e-mail w/css
Here is a sample I have used in the past: http://searchdomino.techtarget.com/tip/1,289483,sid4_gci953261,00.html
Subject: RE: html e-mail w/css
Thanks for the link Alan, my code is almost the same, but I can get the css to format the text, does the mail understands all the styles?
regards