Comments (5)
It should do special password characters fine.
You said 'your mail server'. Do you mean you run your own? If so, this may or may not work for you.
First it needs to go through an ssl/tls port.
Second, since gmail is most popular we use the AUTH type of 'plain'. Your mail server may use a different type such as Login or something.
So you may have to use a different mail provider for this.
from nowshowing.
Thanks for the quick reply. I use my own mail server indeed (that I configured from scratch). I'm using STARTTLS on port 588 and Plain Auth.
from nowshowing.
Now I'm getting this error when doing docker exec nowshowing combinedreport
/var/lib/nowshowing/mailReport.rb:60:in `sendMail': undefined method `each' for nil:NilClass (NoMethodError)
from /usr/local/sbin/combinedreport:386:in `main'
from /usr/local/sbin/combinedreport:394:in `<main>'
from nowshowing.
EDIT: If you run it in test mode do you still get that same error, or an auth login error on your server again? docker exec nowshowing emailreport -t
It's still not working and giving errors because of your mail server setup most likely. The code used just may not be compatible with your server.
Here is the block of code for sending the email. Like mentioned earlier, this was set for gmail primarily. You could try editing this file manually in the docker with vi and fooling around with it. It's located at "/var/lib/nowshowing/mailReport.rb"
def sendMail(body)
options = { :address => $config['mail']['address'],
:port => $port,
:domain => 'otherdomain.com',
:user_name => $config['mail']['username'],
:password => $config['mail']['password'],
:authentication => 'plain',
:enable_starttls_auto => true }
Mail.defaults do
delivery_method :smtp, options
end
from nowshowing.
Closing
from nowshowing.
Related Issues (20)
- using incompatiable agent HOT 1
- "Movie Using Incompatible Agent" Error HOT 1
- Web server serving wrong page? HOT 16
- Wrong headings in stats. HOT 2
- TV show background images are not visible in Chrome HOT 3
- Not seeing option for Tautulli HOT 9
- Settings not saving HOT 5
- Unauthenticated relay in SMTP <other> profile broken-ish HOT 1
- Stats display order on web HOT 3
- TV Shows Fail to Update HOT 2
- Email Fails to Send without From Field HOT 2
- Web page not updating HOT 6
- SendGrid not working due to invalid send address HOT 1
- Empty continuation line found in dockerfile HOT 2
- Stats are incorrect HOT 3
- Settings to setup with Synology NAS? HOT 1
- Emails going to spam due to improper formatting
- Cover artwork HOT 1
- Not reporting on certain shows. HOT 3
- Assuming this is dead? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nowshowing.