Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
domotikad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
domotika
domotikad
Commits
a5804ea8
Commit
a5804ea8
authored
May 11, 2015
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added debug log for sendmail
parent
205e858a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
it.txt
Web/htdocs/gui/translations/it.txt
+1
-1
dmmail.py
domotika/mail/dmmail.py
+3
-2
No files found.
Web/htdocs/gui/translations/it.txt
View file @
a5804ea8
...
@@ -12,7 +12,7 @@ sensor = sensori
...
@@ -12,7 +12,7 @@ sensor = sensori
camera = telecamere
camera = telecamere
window = finestre
window = finestre
user = user
user = user
none =
Nessuna Sezione
none =
verifica_comandi_controlli
phone = telefono
phone = telefono
index = Home
index = Home
gate = cancelli
gate = cancelli
...
...
domotika/mail/dmmail.py
View file @
a5804ea8
...
@@ -97,11 +97,12 @@ class DMEmail(object):
...
@@ -97,11 +97,12 @@ class DMEmail(object):
def
needTls
(
self
,
tls
=
True
):
def
needTls
(
self
,
tls
=
True
):
self
.
tls
=
tls
self
.
tls
=
tls
def
end
(
r
):
def
end
(
self
,
r
):
try
:
try
:
self
.
reactor
.
disconnect
()
self
.
reactor
.
disconnect
()
except
:
except
:
pass
pass
log
.
debug
(
"Sendmail has returned "
+
str
(
r
))
return
'OK'
return
'OK'
def
send
(
self
,
usemime
=
True
):
def
send
(
self
,
usemime
=
True
):
...
@@ -132,7 +133,7 @@ class DMEmail(object):
...
@@ -132,7 +133,7 @@ class DMEmail(object):
)
)
self
.
reactor
=
reactor
.
connectTCP
(
self
.
server
,
self
.
port
,
senderFactory
)
self
.
reactor
=
reactor
.
connectTCP
(
self
.
server
,
self
.
port
,
senderFactory
)
return
d
.
addCallbacks
(
self
.
end
)
return
d
.
addCallbacks
(
self
.
end
,
self
.
end
)
def
_realSendMime
(
ser
,
res
,
sval
=
'internal'
):
def
_realSendMime
(
ser
,
res
,
sval
=
'internal'
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment