Mail_Queue
[ class tree: Mail_Queue ] [ index: Mail_Queue ] [ all elements ]

Class: Mail_Queue_Body

Source Location: /Mail_Queue-1.1.2/Queue/Body.php

Class Overview


Mail_Queue_Body contains mail data


Author(s):

Version:

  • $Revision: 1.8 $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 36]
Mail_Queue_Body contains mail data


[ Top ]


Class Variables

$body =

[line 108]

Email body (in RFC) - could have attachments etc

Type:   string


[ Top ]

$create_time =

[line 50]

Create time

Type:   string


[ Top ]

$delete_after_send =  true

[line 122]

Delete mail from database after success send

Type:   bool


[ Top ]

$headers =

[line 101]

Email headers (in RFC)

Type:   string


[ Top ]

$id =

[line 43]

Ident

Type:   integer


[ Top ]

$id_user =  MAILQUEUE_SYSTEM

[line 73]

User id - who send mail MAILQUEUE_UNKNOWN - not login user (guest) MAILQUEUE_SYSTEM - mail send by system

Type:   string


[ Top ]

$ip =

[line 80]

use IP

Type:   string


[ Top ]

$recipient =

[line 94]

Reciepient email

Type:   string


[ Top ]

$sender =

[line 87]

Sender email

Type:   string


[ Top ]

$sent_time =  null

[line 64]

Time when mail was sent

Type:   string


[ Top ]

$time_to_send =

[line 57]

Time to send mail

Type:   string


[ Top ]

$try_sent =  0

[line 115]

How many times mail was sent

Type:   integer


[ Top ]



Method Detail

Mail_Queue_Body (Constructor)   [line 143]

void Mail_Queue_Body( integer $id, string $create_time, strine $time_to_send, string $sent_time, integer $id_user, string $ip, strine $sender, string $recipient, string $headers, string $body, [ $delete_after_send = true], [integer $try_sent = 0])

Mail_Queue_Body::Mail_Queue_Body() constructor
  • Access: public

Parameters:

integer   $id   —  Mail ident
string   $create_time   —  Create time
strine   $time_to_send   —  Time to send
string   $sent_time   —  Sent time
integer   $id_user   —  Sender user id (who sent mail)
string   $ip   —  Sender user ip
strine   $sender   —  Sender e-mail
string   $recipient   —  Reciepient e-mail
string   $headers   —  Mail headers (in RFC)
string   $body   —  Mail body (in RFC)
integer   $try_sent   —  How many times mail was sent
   $delete_after_send   — 

[ Top ]

   [line 330]

integer ( )

Increase and return try_sent

Mail_Queue_Body::try()

  • Return: How many times mail was sent
  • Access: public

[ Top ]

getBody   [line 291]

string getBody( )

Return mail body (in RFC)

Mail_Queue_Body::getBody()

  • Return: Body
  • Access: public

[ Top ]

getCreateTime   [line 180]

string getCreateTime( )

Return mail create time.

Mail_Queue_Body::getCreateTime()

  • Return: Mail create time
  • Access: public

[ Top ]

getHeaders   [line 271]

mixed getHeaders( )

Return mail headers (in RFC)

Mail_Queue_Body::getHeaders()

  • Return: array|string headers
  • Access: public

[ Top ]

getId   [line 167]

integer getId( )

Mail_Queue_Body::getId()
  • Return: Sender id
  • Access: public

[ Top ]

getIdUser   [line 219]

integer getIdUser( )

Return sender id.

Mail_Queue_Body::getIdUser()

  • Return: Sender id
  • Access: public

[ Top ]

getIp   [line 232]

string getIp( )

Return sender ip.

Mail_Queue_Body::getIp()

  • Return: IP
  • Access: public

[ Top ]

getRecipient   [line 258]

string getRecipient( )

Return recipient e-mail.

Mail_Queue_Body::getRecipient()

  • Return: E-mail
  • Access: public

[ Top ]

getSender   [line 245]

string getSender( )

Return sender e-mail.

Mail_Queue_Body::getSender()

  • Return: E-mail
  • Access: public

[ Top ]

getSentTime   [line 206]

mixed getSentTime( )

Return mail sent time (if sended) else false.

Mail_Queue_Body::getSentTime()

  • Return: String sent time or false if mail not was sent yet
  • Access: public

[ Top ]

getTimeToSend   [line 193]

string getTimeToSend( )

Return time to send mail.

Mail_Queue_Body::getTimeToSend()

  • Return: Time to send
  • Access: public

[ Top ]

getTrySent   [line 304]

integer getTrySent( )

Return how many times mail was try to sent.

Mail_Queue_Body::getTrySent()

  • Return: How many times mail was sent
  • Access: public

[ Top ]

isDeleteAfterSend   [line 317]

bool isDeleteAfterSend( )

Return true if mail must be delete after send from db.

MailBody::isDeleteAfterSend()

  • Return: True if must be delete else false.
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 13:54:01 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.