You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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: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:
The text was updated successfully, but these errors were encountered: