logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DeMZed <dem...@gmail.com>
Subject SMTPAppender : how to specify the port ?
Date Tue, 22 Aug 2006 15:17:04 GMT
Hi !

I use this appender :
<appender name="WSE_SMTP" class="org.apache.log4j.net.SMTPAppender">
		<param name="Threshold" value="FATAL"/>
		<param name="To" value="****"/>
		<param name="From" value="****"/>
		<param name="Subject" value="One Fatal Error"/>
		<param name="SMTPHost" value="127.0.0.1"/>
		<param name="BufferSize" value="10"/>
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
		</layout>
	</appender>

My SMTP daemon is listening on port 250, not 25.

What is the param name for the port ? I tryed SMTPPort but it does
work, and my searches gave me any result...

Thanks :)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message