Transaction Engine 3 Application Programming Interface
[ class tree: Transaction Engine 3 Application Programming Interface ] [ index: Transaction Engine 3 Application Programming Interface ] [ all elements ]

Class: KT_Email

Source Location: /common/lib/email/KT_Email.class.php

Class Overview


This class is sending simple emails; (it was designed to be use internal);


Author(s):

Methods



Class Details

[line 11]
This class is sending simple emails; (it was designed to be use internal);

Currently it is useing the PEAR Email classes;




Tags:

access:  public


[ Top ]


Class Methods


constructor KT_Email [line 128]

KT_Email KT_Email( )

Constructor. Doing nothing.



[ Top ]

method getError [line 542]

array getError( )

Getter. return the errors setted.



Tags:

return:  array - 0=>error for user, 1=>error for developer;
access:  public


[ Top ]

method hasError [line 529]

boolean hasError( )

check if an error was setted.



Tags:

return:  true if error is set or false if not;
access:  public


[ Top ]

method sendEmail [line 149]

string sendEmail( string $server, string $port, string $user, string $password, string $from, string $to, string $cc, string $bcc, mixed $subject, string $encoding, string $textBody, string $htmlBody)

send the email



Tags:

return:  empty on succes, error message on error;
access:  public


Parameters:

string   $server   server name
string   $port   port number
string   $user   username
string   $password   the password
string   $from   from address
string   $to   to address
string   $cc   copy carbon address
string   $bcc   blind copy carbon address
string   $encoding   encoding of the email
string   $textBody   text body of the email
string   $htmlBody   the HTML body of the email

[ Top ]

method setCrlf [line 461]

nothing; setCrlf( mixed $Crlf)

Setter. set the end of line chars



Tags:

var:  end of line chars;
access:  public


[ Top ]

method setPriority [line 223]

nothing setPriority( [mixed $priority = ''])

setter. et the priority



Tags:

var:  priority of the email: high, low, normal
access:  public


[ Top ]



Documentation generated on Tue, 6 Dec 2005 15:11:27 +0200 by phpDocumentor 1.3.0RC3