Package io.jmix.email

Class EmailInfoBuilder

java.lang.Object
io.jmix.email.EmailInfoBuilder

public class EmailInfoBuilder extends Object
EmailInfo builder.

Use setters to provide parameters and then invoke the build method to obtain the EmailInfo instance.

Sample usage:

 EmailInfo emailInfo = EmailInfoBuilder.create()
               .setAddresses(addresses)
               .setSubject("Email subject")
               .setBody("Some email body")
               .build();
  • Method Details