I need to use Mustache variables in links' href attributes in my email template.
Link
That works properly in all email clients and web versions except Gmail which removes href attributes. But when I try to hard code the value, everything becomes fine. Have anybody faced this problem and is there any way to solve it not avoiding using Mustache? Thank you in advance for your help!
Related
Dynamics 365 version 9
Ultimate goal is to remove the circled element path in the rich text box in the email.
I used XRMTinyMCE but think that I disconnected using it. When I check the solution Web Resource, there's nothing there referencing XRMTinyMCE.
I also tried to change code by add "statusbar: false" by referrencing to How to disable HTML tags from tinyMCE, but seems no matter how I change the app.js, even commenting out <script src="app.js"></script> in index.html, and then publish all, no changes are reflected in the rich text box in the email form.
What else could I try please?
https://community.dynamics.com/crm/f/117/t/270091
Actually I posted in the community and the 2 replies helped answer and solve my question.
Thank you.
CK Editor built-in feature.
Quote from the link: Dynamics 365 email form uses CKEditor that comes out of the box. You can modify the Config.js for CKEditor and add the following line to hide the html tags at the footer:
config.removePlugins = 'elementspath';
Hope that helps.
For my work, we stumbled upon a little problem. We have made a few mailboxes, and when a user send a mail to this mailbox, it will make a ticket in our ticketing system.
That works fine! But our signature contains images, and our ticketing system takes these images as attachment. This is not what we want.
I tried making a transport rule to delete the signature, when we send it to one of these addresses, and looked it up on google. I saw on more sites that it was impossible to delete a signature with a transport rule.
I tried making a rule in outlook too, but i can't find anything.
Does somebody have the solution for this? I hope so! :)
Thanks in advance for thinking with me!
Look at the HTML body and find all the images. Delete attachments with the matching file name of the content-id property that matches the src attribute of the img tag.
In checking an email that I am coding (a reply-type email that my server will send), I notice that the a tag hyperlinks in my code are not working in Outlook. They work elsewhere, but not Outlook.
I know very little about Microsoft products, but I can tell you that the place I'm seeing this is in the online outlook.com you view in a web browser.
The simplest link, such as this...
Click here
...is coming through like this in the rendered email:
[http:www.yahoo.com]Click here
AND, it is not a link. It's just text. It appears as though the program is disabling the links (possibly because it finds the email suspicious of phishing, even though I added the domain to my trusted emails)???
Anyone know what is happening or how I can work around this?
I don't see anything wrong with the code you've posted, but I do know that Outlook.com will do this to links when it doesn't recognize them as valid links to an external site. Look for hidden characters, "smart" quotes instead of plain quotes, etc. in the link.
You should put the target on the link.
Like this:
Click here
Is there any way to disable link tracking for certain links when sending emails from Rails through sendgrid?
My recent search brought me here. I hope my late answer might help someone else in a similar situation.
Yes, there are ways:
(kind of a hack): Modify the links so that SendGrid does not accept the format(but still renderable in mail client), such as to omit http:// or to add spaces around = in the anchor tag. For example: Not Tracked
The official way: Add a clicktracking=off inside the anchor tag to tell SendGrid not to track it. For example: <a clicktracking=off href="http://sendgrid.com">Not Tracked</a>
You can now turn this on and off easily within SendGrid, see the docs. There is also an option to brand your tracking links with your own domain. This requires setting some DNS settings but means you have your own links in emails and they also get tracked.
I'm using Keycloak to send a forgot password email, and from what I've read on their docs and the FreeMarker docs, it seems like I should be able to use HTML tags just fine. However, when I use them in the password-rest.ftl file, it renders the whole tag like so:
<p>Some Text</p>
instead of just showing: Some Text
I found this (https://issues.jboss.org/browse/KEYCLOAK-681) saying that Keycloak can only send plain text emails, and I just wanted to see if anyone knew for sure since I have found some stuff that looks like the HTML tags should be usable How do you block emails from appearing as links in FreeMarker?
Any advice or thoughts on this would be greatly appreciated.
There are two sub-directories containing templates for emails. They are called text and html. When you want HTML you need to edit templates located in html directory.
Keycloak itself sends emails as multi-part messages containing both plain-text and HTML versions - email client decides which one is displayed.
I am not familiar with Keycloak, but somehow you should set the Mime type of your e-mail to "text/html" (e.g. have a look at this Stack Overflow answer).
Which version of Keycloak are you using? Comparing the source code of 'FreeMarkerEmailProvider' in tag 1.2.0.Final and on branch 1.3.x lets me assume that Keycloak is able to handle text/html at least from version 1.3.x on.
But again: I am not familiar with Keycloak...