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
9 years ago
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
camera = telecamere
window = finestre
user = user
none =
Nessuna Sezione
none =
verifica_comandi_controlli
phone = telefono
index = Home
gate = cancelli
...
...
This diff is collapsed.
Click to expand it.
domotika/mail/dmmail.py
View file @
a5804ea8
...
...
@@ -97,11 +97,12 @@ class DMEmail(object):
def
needTls
(
self
,
tls
=
True
):
self
.
tls
=
tls
def
end
(
r
):
def
end
(
self
,
r
):
try
:
self
.
reactor
.
disconnect
()
except
:
pass
log
.
debug
(
"Sendmail has returned "
+
str
(
r
))
return
'OK'
def
send
(
self
,
usemime
=
True
):
...
...
@@ -132,7 +133,7 @@ class DMEmail(object):
)
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'
):
...
...
This diff is collapsed.
Click to expand it.
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