Swift_Mime_MimePart::setBody
Set the body of this entity, either as a string, or as an instance of {@link Swift_OutputByteStream}.
Signature
public function setBody(mixed
$body,
[string
$contentType = null,
[string
$charset = null]] )
Parameters
$body
— mixed$contentType
— string- optional
$charset
— string- optional
Returns
- Swift_Mime_MimePart