Comments (2)
Yes, this is possible. Please see #1727 (comment)
from listmonk.
@knadh I did indeed try using <title data-i18n>Hey {{ .Subscriber.FirstName }}!</title> for example.
But even after restarting my Listmonk docker container, and even changing other elements of the templates to ensure the changes were taking effect, everything besides the Subject line changes, am I missing other configuration changes that need to occur to make it work.
Full email example:
{{ define "subscriber-optin" }}
{{ template "header" . }}
<title data-i18n>Hey {{ .Subscriber.FirstName }}!</title>
<h2>{{ L.Ts "email.optin.confirmSubTitle" }}</h2>
<p>{{ L.Ts "email.optin.confirmSubWelcome" }} {{ .Subscriber.FirstName }}</p>
<p>{{ L.Ts "email.optin.confirmSubInfo" }}</p>
<ul>
{{ range $i, $l := .Lists }}
{{ if eq .Type "public" }}
<li>{{ .Name }}</li>
{{ else }}
<li>{{ L.Ts "email.optin.privateList" }}</li>
{{ end }}
{{ end }}
</ul>
<p>{{ L.Ts "email.optin.confirmSubHelp" }}</p>
<p>
<a href="{{ .OptinURL }}" class="button">{{ L.Ts "email.optin.confirmSub" }}</a>
</p>
<a href="{{ .UnsubURL }}?manage=true">{{ L.T "email.unsub" }}</a>
{{ template "footer" }}
{{ end }}
from listmonk.
Related Issues (20)
- error sending message: mail: unclosed angle-addr When trying to send sample emails (also no emails are sending) HOT 3
- Use a Data Table library HOT 1
- Generated Links Are Too Long
- Intermittent 'error sending message: broken pipe' HOT 1
- Sent 0 even though status shows finished HOT 1
- Double Opt-In List Confirmation Emails Fail to Send HOT 3
- Bounce Processing with Postal webhook
- Feature request: Import from CSV by generating json data HOT 4
- Select SMTP provider at the campaign level HOT 1
- Community extensions docs page? HOT 1
- Update 'Deploy to Elestio' button to newer version
- Undo import? HOT 5
- How to connect Listmonk to a GUI like DB Beaver.
- Merging attributes instead of overwriting them, when importing subscribers HOT 1
- Customize the confirmation mail
- Edit a campaign after launch
- Uploading Media To Listmonk Questions HOT 1
- Not sending Bcc HOT 2
- Go template code in the subject line remains in the email head
- Protecting listmonk against cross-site request forgery (CSRF)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from listmonk.