35 lines
526 B
Plaintext
35 lines
526 B
Plaintext
note
|
|
description : "[
|
|
NOTIFICATION_MAILER using sendmail as mailtool
|
|
]"
|
|
author : "$Author$"
|
|
date : "$Date$"
|
|
revision : "$Revision$"
|
|
|
|
class
|
|
NOTIFICATION_SENDMAIL_MAILER
|
|
|
|
inherit
|
|
NOTIFICATION_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
|