Closed elRadix closed 9 years ago
What does your config look like?
Following up on this.
this is the content of the config
email: title: TV and Movies plex: server: xxx.xxx.xx api_key: xxxxxx mail: address: smtp.gmail.com port: '587' username: xxxx@gmail.com password: xxxxx from: Plex Updates subject: Weekly Updates of Series and Movies
sending mail works only with the test command /usr/local/sbin/plexreport -t -d
just tried again without -t command
root@xxxx:/etc/plexReport# /usr/local/sbin/plexreport -d
/var/lib/gems/2.1.0/gems/mail-2.6.3/lib/mail/check_delivery_params.rb:9:in check_delivery_params': An SMTP To address is required to send a message. Set the message smtp_envelope_to, to, cc, or bcc address. (ArgumentError) from /var/lib/gems/2.1.0/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:98:in
deliver!'
from /var/lib/gems/2.1.0/gems/mail-2.6.3/lib/mail/message.rb:252:in deliver!' from /var/lib/plexReport/mailReport.rb:93:in
block in sendMail'
from /var/lib/plexReport/mailReport.rb:84:in each' from /var/lib/plexReport/mailReport.rb:84:in
sendMail'
from /usr/local/sbin/plexreport:381:in main' from /usr/local/sbin/plexreport:385:in
Ok, so when you run it with -t it works, but doesn't when you don't?
Can you give me the output of:
https://plex.tv/pms/friends/all
?
here is the output
cleaned log
Ah, thats it! There are blank emails there.
Let me update the code to check for that (I didn't even know that was a possibility)
Ok, I updated the code. Update your end and give it a shot.
perfect, just updated and now it works, thank you for the fix!!
I cant send a gmail anymore. How can this be fixed ?