smtpStop task stops the SMTP session if it was not yet stopped.
Attribute | Description | Default | Required |
refid | Reference name of the SMTP Acceptor to be stopped. | None | Yes |
<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>