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

Why does the representation of recipient/email not follow the common practice of using angular brackets? #1094

Open
paul23-git opened this issue Jul 16, 2024 · 4 comments

Comments

@paul23-git
Copy link

In the class Recipient (utils/util.py) to make a string out of a recipient the name and adress is shown, as per the repr` function:

    if self.name:
        return '{} ({})'.format(self.name, self.address)
    else:
        return self.address

Would it be better to change this so that the resulting string more closely resembles things that are expected from mail servers? Name (quoted) together with the address between angular brackets? So like:

    if self.name:
        return '"{}" <{}>'.format(self.name, self.address)
    else:
        return self.address
@alejcas
Copy link
Member

alejcas commented Jul 16, 2024

Agree. PR are very welcome if you have the time to change this.

Thanks

@paul23-git
Copy link
Author

There is a PR: #1095

@paul23-git
Copy link
Author

What is the release schedule for O365 library? Any sight on a new minor version that includes the pr?

@alejcas
Copy link
Member

alejcas commented Aug 6, 2024

What is the release schedule for O365 library? Any sight on a new minor version that includes the pr?

I usually wait until there are more improvements

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

No branches or pull requests

2 participants