Package sk.vrto.domain

Examples of sk.vrto.domain.EmailAccount


            }
        }).when((EmailServiceImpl) emailService).doSend((SimpleEmail) anyObject());

        // try out JavaMail assembling
        emailService.send(
                new EmailAccount("test@test.sk", encrypter.encrypt("skynet")),
                new Email(new Contact("miso", "miso@miso.sk", null), "title", "content"));
        // sending is mocked
        // no exception should be thrown
    }
View Full Code Here


        return SmtPropertiesFactory.hotmailProperties();
    }

    @Bean(name = "app.hotmail")
    public EmailAccount hotmail() {
        return new EmailAccount("diplomka.misova@hotmail.com",
                saltedAESStringEncrypter().encrypt("5RocnikFRI"));
    }
View Full Code Here

TOP

Related Classes of sk.vrto.domain.EmailAccount

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.