Email templates are HTML based documents typically used in conjunction with email marketing services to send branded messages.
Questions tagged [email-templates]
485 questions
31
votes
2 answers
how to send email wth email template c#
suppose i need to send mail to customer with customer detail and his order detail.
i have template html data in a html file.customer data is there and as well as order detail is also there in same html template file. my html look like…

Thomas
- 33,544
- 126
- 357
- 626
15
votes
4 answers
Div styles not working in Outlook Emails
I have created a HTML template for Emails using Div tags.
Its working fine on Gmail, Yahoo.
But Div styles not working in the Outlook.
Following is the code which i have used.

Sunny Patial
- 379
- 1
- 3
- 14
12
votes
1 answer
Send email using Html template with MailKit in .net core application
I am sending an email from .net core application using MailKit, and it will sent it successfully.
But I want to use HTML template to send email with MailKit in .Net core.
Here are the code currently sending email with static body part
var…

Herin
- 704
- 3
- 18
- 34
10
votes
2 answers
.net Email Template engine
I'm looking to create emails, mainly HTML, based on templates -
I'd really like to do something like:
Set up my template, as an HTML (or
similar) file
Include tags, that are then replaced with specific data (kind of like mail-merge....)
I've seen…

Alex
- 37,502
- 51
- 204
- 332
9
votes
6 answers
Where to store email templates
I have an asp.net web application, which sends several emails to users during the signup procedure. Right now I have them inline with the code, but I would like to hold them in a central location where I can edit them without going in to VS.
What…

Elad Lachmi
- 10,406
- 13
- 71
- 133
9
votes
0 answers
How to grab dynamic date in SendGrid's Dynamic templates?
How do I get the current year for the Copyright © {{YEAR}} in a SendGrid Dynamic Templates WITHOUT test data?
I'm looking for something like {{ formateDate new Date YYYY }} since we want the year to update automatically so we can't rely on test data…

Storm Parker
- 583
- 3
- 7
- 21
7
votes
2 answers
How can I concatenate a string using Jinja for loop?
I am trying to iteratively concatenate a string to build url params with a 'for' loop, but I believe I am having scoping issues.
The output should be: url_param = "&query_param=hello&query_param=world"
array_of_objects =…

Brandi
- 161
- 1
- 10
7
votes
1 answer
Email Sender Library with Razor (.cshtml) Templates. .net core 2.0
I have been searching for this ages for a clear solution for sending emails with email templates from embedded source files and still I haven't found a clear answer to this.
Razor views are really nice to use as a template for emails.
I am trying to…

akd
- 6,538
- 16
- 70
- 112
7
votes
1 answer
Media query in responsive email template
I need to build a responsive email template. I did my research and learnt that media queries are not widely supported by the email clients.
So, I tried not to use media query and stacked the columns using display: inline-block; max-width:290px;.…

Mark Wilson
- 1,324
- 2
- 10
- 19
7
votes
3 answers
How to use conditions inside Email template in SugarCRM
How I can use if/else conditions inside the email template in SugarCRM?
I am trying use conditions equal pdf template and smarty template but I have no success.
No success

ErasmoOliveira
- 1,416
- 2
- 20
- 40
7
votes
2 answers
Show product thumbnail on woocommerce New Order email
I have a WordPress / WooCommerce site running and I'd like to edit the email that admins receive, when an new order is received, to show the thumbnail of the product.
I copied the template to my theme directory…

user2666183
- 73
- 1
- 5
6
votes
4 answers
How to disable the dark mode via email template
Is there a way to disable the dark mode in outlook.com and force the original styles of my email template to render as displayed on light/normal mode ?

iioannou
- 81
- 1
- 1
- 8
6
votes
0 answers
nodemailer transporter.templateSender function is undefined
Problem description
Hello, I am trying to use html templates using nodemailer's external renderer functionality. I therefore import nodemailer and EmailTemplates for my template engine that will be pug. I create my transporter with the due…

Jaro
- 1,587
- 5
- 20
- 39
6
votes
2 answers
Why is Gmail ignoring my media queries? (On iOS)
I've been debugging and testing an email template in Gmail. I'm using Zurb Foundation for the base (I also used it to inline most of my CSS). It looks fine everywhere, but Gmail is completely ignoring my media queries (the soblue class is a test of…

C. Coleman
- 61
- 1
- 1
- 2
6
votes
1 answer
Issue with Image which is send Via Mail in iOs default mail app & outlook
I am trying to send Email from node.js API using "node-ses". I attached image url code inside mail body.
It works completely inside Gmail & browser, But having issue in iOs default mail…


Pradip
- 315
- 1
- 4
- 12