MailAttachment

Represent a mail attachment that can be used in a MailMessage.

package

Default

Methods

MailAttachment constructor

__construct( $mailAttachment = null) 

Arguments

$mailAttachment

mixed | null

addHeader

addHeader( $key,  $value) : $this

Arguments

$key

String

$value

String

Response

$this

getContentId

getContentId() : string

Response

string

getContentType

getContentType() : string

Response

string

getData

getData() : \io\vertx\jphp\core\buffer\Buffer

getDescription

getDescription() : string

Response

string

getDisposition

getDisposition() : string

Response

string

getName

getName() : string

Response

string

setContentId

setContentId( $contentId) : $this

Arguments

$contentId

string

Response

$this

setContentType

setContentType( $contentType) : $this

Arguments

$contentType

string

Response

$this

setData

setData( $data) : $this

Arguments

$data

Buffer

Response

$this

setDescription

setDescription( $description) : $this

Arguments

$description

string

Response

$this

setDisposition

setDisposition( $disposition) : $this

Arguments

$disposition

string

Response

$this

setName

setName( $name) : $this

Arguments

$name

string

Response

$this