Hello, first of all great script! Using it every week now foor all my users!
A thing I'd like to see: BCC, currently all my users can see each others address in the mail at the TO line. If there was a BCC option or if it would sent out all mail seperatly it would be great!
Or am I just blind and is there already such an option?
EDIT: OK, I am very, very blind!
From what I can see, it does put it in the "To" line. BUT, it sends it out individually. So no one see someones else email address. For instance, I have 20+ users, in my sent items I have 20+ separate emails being sent every Friday.
From what I can see, it does put it in the "To" line. BUT, it sends it out individually. So no one see someones else email address. For instance, I have 20+ users, in my sent items I have 20+ separate emails being sent every Friday.
Yes thats the config line "Send out individually" which I couldn't find before ;)
Yeah that sounds about right! Would love to be able to use it on both mobile and PC but I tried reading a bit about optimizing CSS for phones and I can honestly say that my webdesign-skills arent even close.
Sorry it took so long, been a very busy past week for me. Please try the latest build and modify the new filter field to False: filter_show_email_images
That seems to make it look much better on mobile for me. If you want less fields on there you can also modify the filter settings for each individual field to not be shown. Let me know if you need more direction on that.
@eadwyn, maybe I missed that option but would you be willing to consider adding the ability to automatically collect/add email addresses of friends with whom you are sharing content?
I hadn't considered using the Plex api for this script, but that seems like something that could be useful. I'll look into how much effort it would be to implement.
@eadwyn, maybe I missed that option but would you be willing to consider adding the ability to automatically collect/add email addresses of friends with whom you are sharing content?
I have it set up for sending out tomorrow on schedule, so haven't tested it yet. Apparently it works, since there are no complaints.
Before getting into the config file I was expecting to have to use the Plex Token. This makes it easier to set up instead of having to search for the correct .xml file and hunt down the correct token.
Thanks for your work. You've done a bang up job on this.
I have it set up for sending out tomorrow on schedule, so haven't tested it yet. Apparently it works, since there are no complaints.
Before getting into the config file I was expecting to have to use the Plex Token. This makes it easier to set up instead of having to search for the correct .xml file and hunt down the correct token.
Thanks for your work. You've done a bang up job on this.
Just a little tip if you want to test it out. Just cd to the directory in a command prompt to the "script" folder and then type this...
plexEmail.py -t
This will send a test email to the sender. So if you are the sender it will send it back to the same(you) account and not to anyone else.
My plexEmail did not send at it's scheduled time today. It shows that it ran at the scheduled time, but the last result run shows (0x1). I get the same message when I run it manually, and no one is getting the email.
I am thinking to use the API we might need to use the Token instead of a username and password. PlexReport (which doesn't run on Windows last I looked at it) uses the Token for this.
FYI, the test works to send me an email, but perhaps that is because my email address is located in the Email From: in the config file.
another FYI... I am using a batch file to run this with Schedule Task (python C:\PlexEmail\scripts\plexEmail.py) and it was working fine when email addresses were used.
My plexEmail did not send at it's scheduled time today. It shows that it ran at the scheduled time, but the last result run shows (0x1). I get the same message when I run it manually, and no one is getting the email.
I am thinking to use the API we might need to use the Token instead of a username and password. PlexReport (which doesn't run on Windows last I looked at it) uses the Token for this.
FYI, the test works to send me an email, but perhaps that is because my email address is located in the Email From: in the config file.
another FYI... I am using a batch file to run this with Schedule Task (python C:\PlexEmail\scripts\plexEmail.py) and it was working fine when email addresses were used.
That looks like it might be an issue with the setup of the scheduled task. Just to confirm, the bat file does work when you run it? If so, can you confirm in the action of your scheduled task you are pointing to the bat file and you have the Start in (optional) field set to the folder where the bat file is located.
replaced the above .bat file with C:\PlexEmail\script\plexEmail.vbs
Scheduler says the command completed successfully, but no one got the email.
Am running again with C:\PlexEmail\scripts in the Start In (optional).
question,... when pulling email addresses from pPlex, if using one email, is all email addresses shown, or is it going to use the Plex Username? Currently I have it set to send individual emails?
replaced the above .bat file with C:\PlexEmail\script\plexEmail.vbs
Scheduler says the command completed successfully, but no one got the email.
Am running again with C:\PlexEmail\scripts in the Start In (optional).
question,... when pulling email addresses from pPlex, if using one email, is all email addresses shown, or is it going to use the Plex Username? Currently I have it set to send individual emails?
using Start In (optional) did not work either
using
Script to run: plexEmail.vbs
Start in (optional): C:\PlexEmail\scripts
did not work either
Username and PW have been checked for correctness
Please try the attached script file: plexEmail.zip (9.9 KB)
This adds some logging around the Plex API call. Please run this script from the command line and verify that a token is generated and that emails are listed.
This adds some logging around the Plex API call. Please run this script from the command line and verify that a token is generated and that emails are listed.
Sorry for the delay. seems the script is pulling al of the emails, but I get the following at the end of the script.
EDIT: Nevermind, this was a problem with Firefox. Any idea when this issue could be resolved?
Sincerely,
Bart
As you found it's only an issue with Firefox and I looked into it earlier in this thread (starting on page 9). It's a bug that's been around for years, but they don't seem to have any plans to ever fix it. Due to the bug, the URLs can either work only in Firefox or in all other browsers, but there is no way to make it work in both (outside of having two links).
It looks like one of the emails might be invalid and is causing that error. Can you confirm if any of the emails printed out look to be invalid?
As you found it's only an issue with Firefox and I looked into it earlier in this thread (starting on page 9). It's a bug that's been around for years, but they don't seem to have any plans to ever fix it. Due to the bug, the URLs can either work only in Firefox or in all other browsers, but there is no way to make it work in both (outside of having two links).
Thanks for looking at this. All the emails should be correct since it is pulling them from the Users, BUT... the first email is not there. For instance...
the first user email listed is usrname1@somemail.com
but at the bottom, when it shows them all in this format : ['username1@somemail.com', 'username2@somemail.com',]
it starts as [ ' ', 'username1@somemail.com', 'username2@somemail.com'].... it is like it missed one from the top list, but it didn't... unless it is suppose to be putting mine in there, which is't in the list at all. (I would like to see mine there so I get the email also)