webmcp

diff framework/env/net/send_mail.lua @ 65:a54cc7dcabf1

"extos" library calls via "extos." instead of "os."
author jbe
date Tue Apr 17 15:20:42 2012 +0200 (2012-04-17)
parents 3d43a5cf17c1
children 5d307886bd89
line diff
     1.1 --- a/framework/env/net/send_mail.lua	Sun Apr 15 16:04:33 2012 +0200
     1.2 +++ b/framework/env/net/send_mail.lua	Tue Apr 17 15:20:42 2012 +0200
     1.3 @@ -46,7 +46,7 @@
     1.4      command[#command+1] = "-f"
     1.5      command[#command+1] = envelope_from
     1.6    end
     1.7 -  local stdout, errmsg, status = os.pfilter(mail, table.unpack(command))
     1.8 +  local stdout, errmsg, status = extos.pfilter(mail, table.unpack(command))
     1.9    if not status then
    1.10      error("Error while calling sendmail: " .. errmsg)
    1.11    end

Impressum / About Us