Previous Page
setHeader()

Solar_Mail_Message_Part
setType()

Next Class
Solar_Mail_Transport

setType()

public void setType ( string $type )

Sets the Content-Type for this part.

Parameters

  • (string) $type: The content type, e.g. 'image/jpeg'.

Returns

  • (void)

Description

Sets the Content-Type for this part.