Return the body of the part.
public getContents ( array $options = [] ) : mixed | ||
$options | array | Additional options:
- canonical: (boolean) Returns the contents in strict RFC 822 &
2045 output - namely, all newlines end with the
canonical |
Résultat | mixed | The body text (string) of the part, null if there is no contents, and a stream resource if 'stream' is true. |