Updated CMS code.

Separated code to have a lib and an example.
Improved design, fixed a few issues related to folder location.

This is still experimental and require more work to be really friendly to use.
This commit is contained in:
Jocelyn Fiat
2013-01-31 15:33:24 +01:00
parent 40ea982293
commit ce469b6ede
136 changed files with 1841 additions and 299 deletions

View File

@@ -0,0 +1,34 @@
note
description : "[
CMS_MAILER using sendmail as mailtool
]"
author : "$Author$"
date : "$Date$"
revision : "$Revision$"
class
CMS_SENDMAIL_MAILER
inherit
CMS_EXTERNAL_MAILER
redefine
default_create
end
create
default_create
feature {NONE} -- Initialization
default_create
do
Precursor
make ("/usr/sbin/sendmail", <<"-t">>)
if not is_available then
make ("/usr/bin/sendmail", <<"-t">>)
end
set_stdin_mode (True, "%N.%N%N")
end
end