smtpAcceptor

Description

smtpAcceptor type represents simple SMTP server.

Parameters

Attribute Description Default Required
id Reference name to use SMTP Acceptor with other tasks. None Yes
configurationDirectory Path to the directory, containing SMTP Acceptor configuration files. None Yes

Note

Only one SMTP Acceptor can be created in the script.

Examples

	<target name="run_all">
		<echo>Starting...</echo>
		<echo>Create smtpAcceptor...</echo>
		<smtpAcceptor configurationDirectory="${fix_common.settings.dir}" id="smtp_server"/>
	  	<smtpStart refid="smtp_server"/> 
		<echo>Done<</echo>
	</target>
	<target name="stop_all">
		<echo>Stopping...</echo>
		<smtpStop refid="smtp_server"/>
		<echo>Done</echo>
	</target>