Comments (1)
We expect the HTML as it's to be shown in the email. We don't support rendering HTML templates in our library, since there is already native support for HTML templates in Go: https://golang.org/pkg/html/template/
I recommend using the Go stdlib to generate your template and pass the result when creating a new email.
from email.
Related Issues (20)
- How to accept email HOT 1
- BUG: HTMLRelated attachments with only HTML HOT 3
- Cannot get latest version: module contains a go.mod file, so module path should be github.com/jordan-wright/email/v4 HOT 5
- Start sending after client was idle for a while: tcp write: broken pipe HOT 4
- NewEmailFromReader is not handling multiple To, Cc and Bcc addresses correctly HOT 1
- cc and bcc not working
- Use mail.Address instead of plain strings HOT 3
- Q: how to use inline assets? HOT 2
- Old Content-Type headers are retained after email MIME content is generated with Bytes()
- Email.Headers.Add("Bcc"…) does not do what one might think HOT 3
- Non-multipart emails are not decoded when CTE is Base64
- Missing MIMe headers with NewEmailFromReader HOT 2
- Data Race in Connection Pool
- email should use base64 encoding as default for html to avoid dot-stuffing
- text decoding support for NewEmailFromReader
- Incorrect encoding for utf-8 characters in reply-to addresses HOT 1
- Hello author, about proxy IP
- SendWithStartTLS:504 5.7.4 Unrecognized authentication type [HK2PR04CA0063.apcprd04.prod.outlook.com] HOT 1
- How do I add attachments to the body HOT 2
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 email.