IPWorks S/MIME 2020 PHP Edition

Questions / Feedback?

PartContentType Property

Content type for each part.

Object Oriented Interface

public function getPartContentType($partidx);
public function setPartContentType($partidx, $value);

Procedural Interface

ipworkssmime_mime_get($res, 13 , $partidx);
ipworkssmime_mime_set($res, 13, $value , $partidx);

Default Value



Content type for each part. The value of this property is used in the Content-Type header. Typical values include "image/gif", "text/plain" etc. The class fills it out each time the PartDecodedFile is changed. Changing This property recalculates the PartHeaders as well.

The size of the array is controlled by the PartCount property.

This property is not available at design time.

Data Type


Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 PHP Edition - Version 20.0 [Build 7721]