Questions tagged [email-templates]

Email templates are HTML based documents typically used in conjunction with email marketing services to send branded messages.

485 questions
6
votes
2 answers

Mandrill Templates With Handlebars - How To Format Date

Mandrill has a great feature that allows one to use Handlebars in templates to customize email content. See docs here. One of the helpers that Madnrill supports is date that can be used like {{#date}}. The default date format is d/m/Y. My question…
6
votes
8 answers

Email Template Library in Java

I know that there is a library called FreeMarker to create Email templates for Java. Do you think this library is suitable to use in enterprise projects? Is there any other libraries to create email template for java?
Maksim
  • 16,635
  • 27
  • 94
  • 135
5
votes
3 answers

Text is not vertically centered in Outlook with "line-height"

I tried to use line-height in emails for Outlook 2016, however, it doesn't work as expected. Email body is following:
kolobok
  • 3,835
  • 3
  • 38
  • 54
5
votes
2 answers

Dynamic content in email templates

I have rails background and i'm working to implement something like as shown in the image My email template will have such tags. While sending the email to the client, his information will get filled up in the template. I found this link here but…
Aakanksha
  • 956
  • 1
  • 13
  • 26
5
votes
3 answers

Outlook shows images at original size

I'm currently working on some custom responsive email templates that will be used in my clients Mailchimp. (yes, the struggle is real..) The passed week I've been trying to figure out why Outlook shows my images at their original sizes. As you can…
Kevincore
  • 494
  • 1
  • 4
  • 16
5
votes
2 answers

Get Product Name and Description in WooCommerce email templates

I am trying to get product descripton and the product name when email is sent in WooCommerce email templates. I am able to get product id $order_id = trim(str_replace('#', '', $order->get_items())); using this code But when I am trying to get its…
Shaik
  • 930
  • 1
  • 20
  • 48
5
votes
0 answers

Node email-templates include font files (woff / ttf)

I'm using the node package email-templates which uses juice to inline styles and generate html output to send via email.Everything works like a charm except that I'm unable to include my font files my css is looking for. Has anyone come across this…
vanzylv
  • 841
  • 2
  • 10
  • 22
5
votes
2 answers

Positioning an image above another image in an email template

How can I position an element in any email template. In the design that I have to place an image over the other, which can be possible only with positioning it absolute or giving it a margin. As far as I know google doesn't support margin and…
5
votes
2 answers

border-radius alternative in email Templates

Well I am designing email templates and I know that CSS3 is not working on most of the email providers. I am trying bend the borders (that can be DONE by border-radius - but it is NOT supported by most of email providers). So is there any…
Junaid
  • 2,572
  • 6
  • 41
  • 77
5
votes
3 answers

Salesforce Create Buttons and Links option - Custom URL to launch email template

I have an email template that I would like to launch from within the case using a Link/Button. I see the option under setup->customize->cases->button and links I even see where I need to place the URL. What I don't see is nay documentation on how to…
Phill Pafford
  • 83,471
  • 91
  • 263
  • 383
5
votes
1 answer

Finding handle in email templates in Magento

I'm trying to edit this email template: /app/locale/en_US/template/email/sales/order_new.html I'm trying to edit the order totals part, but in the file above it has this code {{layout handle="sales_email_order_items" order=$order}} that gets the…
Nick Rolando
  • 25,879
  • 13
  • 79
  • 119
4
votes
2 answers

Loading a Magento mail template and fill its vars from code?

I am loading my mail template like this: $mailTemplate = Mage::getModel('core/email_template'); $myTemplate = $mailTemplate->load($templateId); Now I can get the template content using: $text = $myTemplate ->getData('template_text'); This works,…
EOB
  • 2,975
  • 17
  • 43
  • 70
4
votes
2 answers

why are the email templates still made with tables? Can't we use div and flexbox(as it is widely supported presently)?

They say the table is a standard for making email templates and also they are using elements that are not supported in html5 eg., . I haven't made any layout with tables and I am comfortable with using flexbox. Can I use flexbox?
4
votes
1 answer

Is there a way to make RazorEngine throw an exception rendering a template using JSON as the data model?

I am attempting to design an email templating system in ASP.NET using RazorEngine as my templating language. RazorEngine takes an email template (as a string or in a .cshtml file) and combines it with a data model to produce the output as a string.…
Captain Stack
  • 3,572
  • 5
  • 31
  • 56
4
votes
2 answers

Creating a shortcut for Gmail canned response

I'm currently using Gmail Lab feature - canned responses. I have a lot of these canned responses and using their menu to find the right one, proves to be time-consuming. It would be way easier to find a canned response by: linking a canned…
dev.e.loper
  • 35,446
  • 76
  • 161
  • 247
1
2
3
32 33