textPart

Creates a text part using the provided configuration block.

Return

The created text part.

Parameters

block

The lambda to configure the text part.


Creates a text part using the provided Java-friendly Consumer.

Return

The created text part.

Parameters

block

The consumer to configure the text part.