Contentserv PHP API

CSMailStub
in package

The class CSMailStub wraps the class .CSMailRecord for get-methods only <code> $stub = new CSMailStub(); $stub->getXXX('test'); </code>

Tags

Table of Contents

__construct()  : void
Constructor creates instance of the class CSMailRecord
getAc()  : string
The get-method getAc provides the to-information of the Mail
getAttachments()  : array<string|int, mixed>
The get-method getAttachments provides a array of attachments,
getBcc()  : string
The get-method getBcc provides the blind-carbon-copy- information of the Mail
getBody()  : string
The get-method getBody provides the body-information of the Mail
getCc()  : string
The get-method getCc provides the carbon-copy-information of the Mail
getDirection()  : int
The get-method getDirection provides the CS-specific state-information of the Mail, allowed values are 1 (Outgoing) or 0 (Incomming )
getFrom()  : string
The get-method getFrom provides the From-information of the Mail
gethtmlBody()  : string
The get-method gethtmlBody provides the content of the Mail in HTML-format
getLog()  : string
The get-method getLog provides the CS-specific log-information of the Mail
getMailboxID()  : int
The get-method getMailboxID provides the MailboxID of the Mailboxrecord
getPriority()  : string
The get-method getPrirority provides the prirority-information of the Mail
getReplyto()  : string
The get-method getReplyto provides the Replyto-information of the Mail
getState()  : int
The get-method getState provides the CS-specific state-information of the Mail, allowed values are "error", "successful" or sent
getSubject()  : string
The get-method getSubject provides the subject information of the Mail
getTextBody()  : string
The get-method getTextBody provides the content of the Mail in plaintext-format
getTime()  : string
The get-method getTime provides the reception time of the Mail
getUID()  : string
The get-method getUID provides the UID-information of the Mail

Methods

__construct()

Constructor creates instance of the class CSMailRecord

public __construct([int $CSMailID = null ]) : void
Parameters
$CSMailID : int = null
Tags
access

public

Return values
void

getAc()

The get-method getAc provides the to-information of the Mail

public getAc() : string
Tags
access

public

Return values
string

getAttachments()

The get-method getAttachments provides a array of attachments,

public getAttachments() : array<string|int, mixed>
Tags
access

public

Return values
array<string|int, mixed>

array(array( 'filename' => $filename , 'mimetype'=>$mimetype, 'content'=>$content ) , ... )

getBcc()

The get-method getBcc provides the blind-carbon-copy- information of the Mail

public getBcc() : string
Tags
access

public

Return values
string

getBody()

The get-method getBody provides the body-information of the Mail

public getBody() : string
Tags
access

public

Return values
string

getCc()

The get-method getCc provides the carbon-copy-information of the Mail

public getCc() : string
Tags
access

public

Return values
string

getDirection()

The get-method getDirection provides the CS-specific state-information of the Mail, allowed values are 1 (Outgoing) or 0 (Incomming )

public getDirection() : int
Tags
access

public

Return values
int

getFrom()

The get-method getFrom provides the From-information of the Mail

public getFrom() : string
Tags
access

public

Return values
string

gethtmlBody()

The get-method gethtmlBody provides the content of the Mail in HTML-format

public gethtmlBody() : string
Tags
access

public

Return values
string

getLog()

The get-method getLog provides the CS-specific log-information of the Mail

public getLog() : string
Tags
access

public

Return values
string

getMailboxID()

The get-method getMailboxID provides the MailboxID of the Mailboxrecord

public getMailboxID() : int
Tags
access

public

Return values
int

getPriority()

The get-method getPrirority provides the prirority-information of the Mail

public getPriority() : string
Tags
access

public

Return values
string

getReplyto()

The get-method getReplyto provides the Replyto-information of the Mail

public getReplyto() : string
Tags
access

public

Return values
string

getState()

The get-method getState provides the CS-specific state-information of the Mail, allowed values are "error", "successful" or sent

public getState() : int
Tags
access

public

Return values
int

getSubject()

The get-method getSubject provides the subject information of the Mail

public getSubject() : string
Tags
access

public

Return values
string

getTextBody()

The get-method getTextBody provides the content of the Mail in plaintext-format

public getTextBody() : string
Tags
access

public

Return values
string

getTime()

The get-method getTime provides the reception time of the Mail

public getTime() : string
Tags
access

public

Return values
string

getUID()

The get-method getUID provides the UID-information of the Mail

public getUID() : string
Tags
access

public

Return values
string

        

Search results