Class CreateEmailCampaign

java.lang.Object
io.mailtrap.model.AbstractModel
io.mailtrap.model.request.emailcampaigns.CreateEmailCampaign

public class CreateEmailCampaign extends AbstractModel
Attributes used to create an email campaign. name, domainId, fromLocalPart and a template subject within templateAttributes are required by the API. The campaign is always created in the draft state; scheduling and starting are separate actions.
  • Constructor Details

    • CreateEmailCampaign

      public CreateEmailCampaign()