class EL_SEND_MAIL_COMMAND_IMP

(source code)

Description

Send mail command imp

note
	description: "Send mail command imp"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2017 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2021-09-01 9:25:59 GMT (Wednesday 1st September 2021)"
	revision: "9"

class
	EL_SEND_MAIL_COMMAND_IMP

inherit
	EL_SEND_MAIL_COMMAND_I
		export
			{NONE} all
		end

	EL_OS_COMMAND_IMP
		undefine
			execute, do_command, new_command_parts
		end

create
	make

feature -- Access

	Template: STRING = "sendmail -v -fname $from_address $to_address < $email_path"

-- sendmail -v $to_address < $email_path | grep -P "^... RCPT To|^... 55[0-9]" >> $log_path
-- sendmail -O DeliveryMode=background $from_address $to_address < $email_path

end