Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Receiving DNS records for a sending domain that is a subdomain are now named from the root domain, the same as the sending records, so they can be copied straight into your DNS provider
- The DMARC page accepts the hosted report address (`you+dmarc@in.bytesend.cloud`) as well as the one on your receiving domain, instead of saying the address wasn't added
- The DMARC report panel no longer runs off the side of the screen on mobile. Each source is now a card with a clear pass or fail result
- Every email now includes a plain-text version. Emails sent through the API or SMTP with only HTML went out without one, which spam filters count against them. The text version is made from the HTML, keeping tables readable and leaving out images

---

Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/server/service/email-queue-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ async function executeEmail(job: QueueEmailJob) {

const text = email.text
? email.text
: email.campaignId && email.html
? htmlToText(email.html)
: email.html
? htmlToText(email.html, { selectors: [{ selector: "img", format: "skip" }, { selector: "table", format: "dataTable" }] })
: undefined;

let inReplyToMessageId: string | undefined = undefined;
Expand Down
Loading