Package com.mailosaur.models
Class PreviewRequest
java.lang.Object
com.mailosaur.models.PreviewRequest
Describes an email preview request.
-
Constructor Summary
ConstructorsConstructorDescriptionPreviewRequest(String emailClient) PreviewRequest(String emailClient, Boolean disableImages) -
Method Summary
Modifier and TypeMethodDescriptionwithDisableImages(Boolean disableImages) Sets whether images should be disabled in the preview (only if supported by the client).withEmailClient(String emailClient) Sets the email client you wish to generate a preview for.
-
Constructor Details
-
PreviewRequest
-
PreviewRequest
-
-
Method Details
-
withEmailClient
Sets the email client you wish to generate a preview for.- Parameters:
emailClient- The email client you wish to generate a preview for.- Returns:
- the PreviewRequest object itself.
-
withDisableImages
Sets whether images should be disabled in the preview (only if supported by the client).- Parameters:
disableImages- If true, images will be disabled (only if supported by the client).- Returns:
- the PreviewRequest object itself.
-