Part.openpgpSign

Signs the content of the mime_part and then replaces the content with the new, signed, content.

class Part
bool
openpgpSign
(
string userid
)

Parameters

userid string

the key id (or email address) to use for signing

Return Value

Type: bool

true on success or false on error.

Throws