aboutsummaryrefslogtreecommitdiff
path: root/src/smtp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/smtp.lua')
-rw-r--r--src/smtp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smtp.lua b/src/smtp.lua
index b113d00..c26ce44 100644
--- a/src/smtp.lua
+++ b/src/smtp.lua
@@ -225,7 +225,7 @@ local function adjust_headers(mesgt)
225 lower["date"] = lower["date"] or 225 lower["date"] = lower["date"] or
226 os.date("!%a, %d %b %Y %H:%M:%S ") .. (mesgt.zone or _M.ZONE) 226 os.date("!%a, %d %b %Y %H:%M:%S ") .. (mesgt.zone or _M.ZONE)
227 lower["x-mailer"] = lower["x-mailer"] or socket._VERSION 227 lower["x-mailer"] = lower["x-mailer"] or socket._VERSION
228 -- this can't be overriden 228 -- this can't be overridden
229 lower["mime-version"] = "1.0" 229 lower["mime-version"] = "1.0"
230 return lower 230 return lower
231end 231end
@@ -253,4 +253,4 @@ _M.send = socket.protect(function(mailt)
253 return s:close() 253 return s:close()
254end) 254end)
255 255
256return _M \ No newline at end of file 256return _M