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

Class: Mail_Queue_Body

Source Location: /Mail_Queue-1.2.7/Mail/Queue/Body.php

Class Overview


Mail_Queue_Body contains mail data


Author(s):

Version:

  • Release: @package_version@

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 61]
Mail_Queue_Body contains mail data


[ Top ]


Class Variables

$body =

[line 133]

Email body (in RFC) - could have attachments etc

Type:   string


[ Top ]

$create_time =

[line 75]

Create time

Type:   string


[ Top ]

$delete_after_send =  true

[line 147]

Delete mail from database after success send

Type:   bool


[ Top ]

$headers =

[line 126]

Email headers (in RFC)

Type:   string


[ Top ]

$id =

[line 68]

Ident

Type:   integer


[ Top ]

$id_user =  MAILQUEUE_SYSTEM

[line 98]

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

Type:   string


[ Top ]

$ip =

[line 105]

use IP

Type:   string


[ Top ]

$recipient =

[line 119]

Reciepient email

Type:   string


[ Top ]

$sender =

[line 112]

Sender email

Type:   string


[ Top ]

$sent_time =  null

[line 89]

Time when mail was sent

Type:   string


[ Top ]

$time_to_send =

[line 82]

Time to send mail

Type:   string


[ Top ]

$try_sent =  0

[line 140]

How many times mail was sent

Type:   integer


[ Top ]



Method Detail

Mail_Queue_Body (Constructor)   [line 168]

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 ]

getBody   [line 323]

string getBody( )

Return mail body (in RFC)

Mail_Queue_Body::getBody()

  • Return: Body
  • Access: public

[ Top ]

getCreateTime   [line 205]

string getCreateTime( )

Return mail create time.

Mail_Queue_Body::getCreateTime()

  • Return: Mail create time
  • Access: public

[ Top ]

getHeaders   [line 303]

mixed getHeaders( )

Return mail headers (in RFC)

Mail_Queue_Body::getHeaders()

  • Return: array|string headers
  • Access: public

[ Top ]

getId   [line 192]

integer getId( )

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

[ Top ]

getIdUser   [line 244]

integer getIdUser( )

Return sender id.

Mail_Queue_Body::getIdUser()

  • Return: Sender id
  • Access: public

[ Top ]

getIp   [line 257]

string getIp( )

Return sender ip.

Mail_Queue_Body::getIp()

  • Return: IP
  • Access: public

[ Top ]

getRecipient   [line 283]

string|array getRecipient( )

Return recipient e-mail.

Mail_Queue_Body::getRecipient()

  • Return: E-mail(s)
  • Access: public

[ Top ]

getSender   [line 270]

string getSender( )

Return sender e-mail.

Mail_Queue_Body::getSender()

  • Return: E-mail
  • Access: public

[ Top ]

getSentTime   [line 231]

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 218]

string getTimeToSend( )

Return time to send mail.

Mail_Queue_Body::getTimeToSend()

  • Return: Time to send
  • Access: public

[ Top ]

getTrySent   [line 336]

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 349]

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 ]

_try   [line 362]

integer _try( )

Increase and return try_sent

Mail_Queue_Body::_try()

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

[ Top ]


Documentation generated on Thu, 30 Jun 2011 16:00:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.