Questions tagged [ozimov-email-tools]

4 questions
1
vote
0 answers

How to send an HTML email with Ozimov Spring Boot Email Tools without a template file?

I want to send HTML email without any template in ozimov spring boot email tools. When I try to use DefaultEmail like this: final Email email = DefaultEmail.builder() .from(new InternetAddress("anyone@example.com", "Anyone")) …
1
vote
1 answer

Adding mail class headers using ozimov spring boot email tools

I'm using the Ozimov Spring Boot Email Tools found here Very easy to use: @Service public class TestService { @Autowired private EmailService emailService; public void sendEmail() throws UnsupportedEncodingException { final Email email =…
Jim Archer
  • 1,337
  • 5
  • 30
  • 43
1
vote
1 answer

Email service by it.ozimov can't see the send method

I implemented an email service form it.ozimov library. When everything was imported there is a problem with send method. I can't figure out how it should be imported, cause now the service can't see it. Here it is dependency which I attach …
bielas
  • 672
  • 2
  • 12
  • 29
0
votes
1 answer

How to test it.ozimov.springboot Email?

I want to make unit test of sending message by using it.ozimov.springboot.mail.service.EmailService. https://github.com/ozimov/spring-boot-email-tools Here is my MailService: import com.google.common.collect.Lists; import…
Mar Mosh
  • 215
  • 2
  • 4
  • 9