As of April 12th, you must go to Progress SupportLink to create new support cases or to access existing cases. Please, bookmark the SupportLink URL and use the new portal to contact the support team.
Hi there, is there a way of adding images to the Moustache email template? Thanks
Best Answer
P
Pranav J
said
almost 6 years ago
Ramesh,
I implemented your scenario in my environment using this link and able to add an image to the mustache email template. You can add an image to the mustache email template as following:
{{#fname}}<p>Dear {{fname}},</p>{{/fname}}
{{^fname}}<p>Dear {{username}},</p>{{/fname}}
Welcome!
<p>Please click on the link below to confirm your email address for app {{appname}}:</p>
<p>
<a href="{{url}}">{{url}}</a>
</p>
<img src="https://www.kinvey.com/wp-content/uploads/2016/03/kinvey-mark-orange.png" alt="kinvey.com">
<p>Please copy the link to your browser if you are unable to click in email.</p>
<p>This link will expire in less than {{expirationTimeDays}} days ({{expirationDate}}).</p>
<p>If you did not sign up for the app, please ignore this email.</p>
<p>Sincerely,</p>
<p>Your {{appname}} team.</p>
I received following email for user verification:
Let me know if you face any issues while implementing this.
I implemented your scenario in my environment using this link and able to add an image to the mustache email template. You can add an image to the mustache email template as following:
{{#fname}}<p>Dear {{fname}},</p>{{/fname}}
{{^fname}}<p>Dear {{username}},</p>{{/fname}}
Welcome!
<p>Please click on the link below to confirm your email address for app {{appname}}:</p>
<p>
<a href="{{url}}">{{url}}</a>
</p>
<img src="https://www.kinvey.com/wp-content/uploads/2016/03/kinvey-mark-orange.png" alt="kinvey.com">
<p>Please copy the link to your browser if you are unable to click in email.</p>
<p>This link will expire in less than {{expirationTimeDays}} days ({{expirationDate}}).</p>
<p>If you did not sign up for the app, please ignore this email.</p>
<p>Sincerely,</p>
<p>Your {{appname}} team.</p>
I received following email for user verification:
Let me know if you face any issues while implementing this.
Thanks, Pranav
P
Pranav J
said
almost 6 years ago
Ramesh,
Your reply created new ticket on portal. I am copying your comment here to complete the loop:
"Hi Pranav
Thank you for your reply. I was actually trying to add an image
through a Custom Endpoint (apologies, I should have been clearer). Using
your example, I tried the below to add an image to the start of an
email:
Ramesh Indran
Hi there, is there a way of adding images to the Moustache email template? Thanks
I implemented your scenario in my environment using this link and able to add an image to the mustache email template. You can add an image to the mustache email template as following:
I received following email for user verification:
Let me know if you face any issues while implementing this.
Thanks,
Pranav
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstPranav J
I implemented your scenario in my environment using this link and able to add an image to the mustache email template. You can add an image to the mustache email template as following:
I received following email for user verification:
Let me know if you face any issues while implementing this.
Thanks,
Pranav
Pranav J
Your reply created new ticket on portal. I am copying your comment here to complete the loop:
"Hi Pranav
Thank you for your reply. I was actually trying to add an image through a Custom Endpoint (apologies, I should have been clearer). Using your example, I tried the below to add an image to the start of an email:
output = render(spec, {data:
{name: "Ramesh",
age: "100",
src: "https://www.kinvey.com/wp-content/uploads/2016/03/kinvey-mark-orange.png" }
});
But it didn't do the job... any thoughts? Is it possible within a Custom Endpoint?
Thanks
Ramesh"
Ramesh Indran
Hi Pranav
Figured out another way - it seems to work through a HTML email body. I'll go with this rather than a Mustache.
Thanks for your help!
Ramesh
Abhijeet M
Hi Ramesh,
We are happy to hear that. Please let us know if you have any other questions.
Regards,
Abhijeet
-
How do I access query string values for GET and DELETE requests?
-
Basic Authentication in Business Logic
-
How do I cascade delete entities from related collections?
-
All BL failing with Violation Error
-
How do I send push notifications?
-
Whenever I try to query by _id, I get zero results
-
receiving SOCKETTIMEDOUT when requesting external http response
-
Unique Constraints on a collection column?
-
Need some help with grouping
-
Accessing Endpoint from Collection Hook
See all 342 topics