Created
January 6, 2012 14:55
-
-
Save jdmr/1570932 to your computer and use it in GitHub Desktop.
Alfresco's xml mail configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> | |
<beans> | |
<!-- --> | |
<!-- MAIL SERVICE --> | |
<!-- --> | |
<bean id="mailService" class="org.springframework.mail.javamail.JavaMailSenderImpl"> | |
<property name="host"> | |
<value>${mail.host}</value> | |
</property> | |
<property name="port"> | |
<value>${mail.port}</value> | |
</property> | |
<property name="protocol"> | |
<value>${mail.protocol}</value> | |
</property> | |
<property name="username"> | |
<value>${mail.username}</value> | |
</property> | |
<property name="password"> | |
<value>${mail.password}</value> | |
</property> | |
<property name="defaultEncoding"> | |
<value>${mail.encoding}</value> | |
</property> | |
<property name="javaMailProperties"> | |
<props> | |
<prop key="mail.smtps.auth">${mail.smtps.auth}</prop> | |
<prop key="mail.smtps.starttls.enable">${mail.smtps.starttls.enable}</prop> | |
</props> | |
</property> | |
</bean> | |
</beans> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment