Description

SimpleSmptService

configuration properties

name default value required description
ck.smtp.host none true Sets smtp host or IP
ck.smtp.port 25 false Set the port number of the outgoing mail server.
ck.smtp.user none false user name to login smtp server
ck.smtp.password none false users password to login smtp server
ck.smtp.debug false false Setting to true will enable the display of debug information.
ck.smtp.ssl false false Sets whether SSL encryption should be enabled for the SMTP transport.
ck.smtp.sslport 465 false Sets the SSL port to use for the SMTP transport.
ck.smtp.tls false false Set or disable the TLS encryption

possible configuration in your application

public class YourAppModule
{
	public static void contributeApplicationDefaults(MappedConfiguration<String, String> contribution)
	{
		contribution.add(ChenilleKitMailConstants.SMTP_HOST, "mail.domain.com");
		contribution.add(ChenilleKitMailConstants.SMTP_PORT, "25");
		contribution.add(ChenilleKitMailConstants.SMTP_DEBUG, "true");
		contribution.add(ChenilleKitMailConstants.SMTP_USER, "myname");
		contribution.add(ChenilleKitMailConstants.SMTP_PASSWORD, "mypassword");
		contribution.add(ChenilleKitMailConstants.SMTP_SSL, "true");
		contribution.add(ChenilleKitMailConstants.SMTP_SSLPORT, "465");
		contribution.add(ChenilleKitMailConstants.SMTP_TLS, "true");
	}
}