Class StringBody

java.lang.Object
io.micronaut.email.StringBody
All Implemented Interfaces:
Body

public class StringBody extends Object implements Body
Email body backed by a String.
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • StringBody

      public StringBody(@NonNull @NonNull String text)
    • StringBody

      public StringBody(@NonNull @NonNull String text, BodyType bodyType)
  • Method Details