Skip to content

feat: add support for plaintext-only email sending#417

Open
Marwan051 wants to merge 6 commits intofloatpane:masterfrom
Marwan051:feat/support-plaintext-only-emails
Open

feat: add support for plaintext-only email sending#417
Marwan051 wants to merge 6 commits intofloatpane:masterfrom
Marwan051:feat/support-plaintext-only-emails

Conversation

@Marwan051
Copy link
Member

@Marwan051 Marwan051 commented Mar 25, 2026

What?

Modified the sender.go file to allow for auto detection of plaintext emails.

Why?

Closes #388

This PR makes it possible for users to send plaintext only emails. Though sending plaintext with attachments is not allowed.

@Marwan051 Marwan051 requested a review from a team as a code owner March 25, 2026 16:20
@github-actions github-actions bot added bug Something isn't working enhancement New feature or request labels Mar 25, 2026
Copy link
Member

@andrinoff andrinoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. It should not be another selector. It should automatically detect if it is just plaintext.

That is: when the email body itself contains only text (no formatting, images, or hyperlinks)

  1. The diff looks weird, tbh, there shouldnt be so many lines rewritten

@andrinoff andrinoff removed the bug Something isn't working label Mar 25, 2026
@Marwan051 Marwan051 requested a review from andrinoff March 25, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FEAT: Add plaintext mode

2 participants