Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postfix bounces address aren't RFC compliant #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PhilippeDesjacques
Copy link
Contributor

@PhilippeDesjacques PhilippeDesjacques commented Jan 12, 2018

so we can explode the From and parse each field to find real from address

Example :
[...]
From: [email protected] (Mail Delivery System)
[...]

…om and parse each field to find real from address
@@ -112,7 +112,7 @@ func GenerateSince(info MailboxInfo, since time.Time, markAsRead, delete bool) (
type Email struct {
Message *mail.Message

From *mail.Address `json:"from"`
From string `json:"from"`
Copy link
Owner

Choose a reason for hiding this comment

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

Instead of making this a breaking change, could we expose this by adding a new FromRaw string?

@jprobinson
Copy link
Owner

Sorry for the absurd delay in responding, this issue must've slipped through the cracks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants