forwardMessageText()
public method
Returns the forward text for a message.
public forwardMessageText ( IMP_Contents $contents, array $opts = [] ) : array |
$contents |
IMP_Contents |
An IMP_Contents object. |
$opts |
array |
Additional options:
- format: (string) Force to this format.
DEFAULT: Auto-determine. |
return |
array |
An array with the following keys:
- body: (string) The text of the body part.
- charset: (string) The guessed charset to use for the forward.
- format: (string) The format of the body message ('html', 'text'). |