PlexPy email notifications from someone other than "PlexPy"

Hi,

First off, I just installed PlexPy and love it! One thing I’m wondering about though. I’m not sure this is my setup, my email, or both but is there a way to get the PlexPy email notifications to come from something other than “PlexPy”?

I set the from email address in PlexPy but the from name is still set to “PlexPy” e.g. “PlexPy MyCustomFromAddress@mydomain.com”.

Is there a way to change the from name to be something else like “MyPlexServer” so the emails come from “MyPlexServer MyCustomFromAddress@mydomain.com”?

Also, it would be great if there was a way to send a test notification so you could tweak the content without having to add and remove content to Plex.

Thanks for your help. I love this app!

This has NOT been tested, i just checked sources.

message = MIMEText(message, 'plain', "utf-8") message['Subject'] = subject message['From'] = email.utils.formataddr(('PlexPy', plexpy.CONFIG.EMAIL_FROM)) message['To'] = plexpy.CONFIG.EMAIL_TO message['CC'] = plexpy.CONFIG.EMAIL_CC

Lin 1359 in notifiers.py

you can edit it.

Should work, ill give it a quick test when ill get back home

@Night said:
This has NOT been tested, i just checked sources.

message = MIMEText(message, 'plain', "utf-8") message['Subject'] = subject message['From'] = email.utils.formataddr(('PlexPy', plexpy.CONFIG.EMAIL_FROM)) message['To'] = plexpy.CONFIG.EMAIL_TO message['CC'] = plexpy.CONFIG.EMAIL_CC

Lin 1359 in notifiers.py

you can edit it.

Should work, ill give it a quick test when ill get back home

Hmm, good catch. I’ll make this customizable in the next update.

@JonnyWong16 said:

@Night said:
This has NOT been tested, i just checked sources.

message = MIMEText(message, 'plain', "utf-8") message['Subject'] = subject message['From'] = email.utils.formataddr(('PlexPy', plexpy.CONFIG.EMAIL_FROM)) message['To'] = plexpy.CONFIG.EMAIL_TO message['CC'] = plexpy.CONFIG.EMAIL_CC

Lin 1359 in notifiers.py

you can edit it.

Should work, ill give it a quick test when ill get back home

Hmm, good catch. I’ll make this customizable in the next update.

Cheers i edited my plexpy, for this and made it a verbale, which can be edited from same place as other email settings, works fine :).

I thought about doing a pull, but I figured it was left out for a reason.