View Single Post
Old 08-30-2023, 02:07 PM   #4
lairdb
dog ear
lairdb began at the beginning.
 
Posts: 53
Karma: 12
Join Date: Jan 2012
Device: lots
Quote:
Originally Posted by gbm View Post
I personally would ditch Microsoft as an email provider.

Also do not use the same email for work and personal.
Agreed; I don't, thanks. I have a wholly separate Office365 Enterprise tenant for the house.

Quote:
Originally Posted by theducks View Post
I have Comcast (xfinity) as my Internet/phone service.

I use a different ISP (that I have an account with, but is not in this area) for Mail. Verizion is offering 5G internet to the home. There are alternatives.
There are, but that's added complexity for a fairly singular reason. My suggestion is to remove the voodoo of
Code:
def is_for_kindle(to):
    return isinstance(to, str) and ('@kindle.com' in to or '@kindle.cn' in to or '@free.kindle.com' in to or '@free.kindle.cn' in to)
...and expose that behavior to the user, allowing them to configure to their preference. Hidden magic values are not usually user-friendly.
lairdb is offline   Reply With Quote