com.formkiq.server.config.DevConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of formkiq-server Show documentation
Show all versions of formkiq-server Show documentation
Server-side integration for the FormKiQ ios application
package com.formkiq.server.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.context.annotation.PropertySource;
import org.springframework.mail.MailSender;
/**
* Local Config.
*
*/
@Configuration
@Profile("dev")
@PropertySource("classpath:/dev.properties")
public class DevConfig {
/**
* @return MailSender
*/
@Bean
public MailSender mailSender() {
return new LoggerMailSender();
}
}