Couple questions about Task/Trigger sending of HTML emails.
I was able to insert a results table into the email (using the Set Table Variable) option. Tryng to apply some styling to thaat table is a bit clunky. I can apply some CSS to a few elements but not others. I think the Microsoft built-in Outlook CSS clashes. For example, in one of the emails received I can see my custom CSS addedd via <style> in the Task HTML, but the Microsoft <style> also appears in the View Source. Even adding !important doesnt hav emuch effect on some elements.
I added this code using <style> in Task:
In the received email the emails View Source shows my CSS and also shows the MS Outlook CSS.
Interestingly, the only CSS of mine that would apply was the table width, th header color, and th/td padding. No other applied custom css would be honored.
Assume these is no css reset for Outlook.
Also, if you send an email Task as HTM L, and the user has thier email set to text-only, I would presume they then see my custom CSS <style> code?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
roattw
Couple questions about Task/Trigger sending of HTML emails.
I was able to insert a results table into the email (using the Set Table Variable) option. Tryng to apply some styling to thaat table is a bit clunky. I can apply some CSS to a few elements but not others. I think the Microsoft built-in Outlook CSS clashes. For example, in one of the emails received I can see my custom CSS addedd via <style> in the Task HTML, but the Microsoft <style> also appears in the View Source. Even adding !important doesnt hav emuch effect on some elements.
I added this code using <style> in Task:
In the received email the emails View Source shows my CSS and also shows the MS Outlook CSS.
Interestingly, the only CSS of mine that would apply was the table width, th header color, and th/td padding. No other applied custom css would be honored.
Assume these is no css reset for Outlook.
Also, if you send an email Task as HTM L, and the user has thier email set to text-only, I would presume they then see my custom CSS <style> code?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.