Class Mail

Description

TPLN mail Plugin

Located in /plugin/mail/mail.class.php (line 6)

Image
   |
   --Rss
      |
      --Mail
Direct descendents
Class Description
 class Form TPLN Form Plugin
Variable Summary
 mixed $bcc
 mixed $body
 mixed $cc
 mixed $charset
 mixed $confirm
 mixed $files
 mixed $format
 mixed $from
 mixed $fromLabel
 mixed $mailErr
 mixed $replyTo
 mixed $subject
 mixed $to
 mixed $urgent
Method Summary
 boolean isMail (string $address)
 void mailAttachFile (string $src, string $name, [string $type = ''])
 void mailBCC (string $str)
 void mailBody (string $str, string $format)
 void mailCC (string $str)
 void mailCharset (string $str)
 void mailConfirm (boolean $bool)
 string mailError ()
 void mailFrom (string $str, [string $label = ''])
 void mailReplyTo (string $str)
 boolean mailSend ()
 void mailSubject (string $str)
 void mailTo (string $str)
 void mailUrgent (boolean $bool)
Variables
mixed $bcc = '' (line 13)
  • access: protected
mixed $body = '' (line 15)
  • access: protected
mixed $cc = '' (line 12)
  • access: protected
mixed $charset = 'iso-8859-1' (line 18)
  • access: protected
mixed $confirm = false (line 20)
  • access: protected
mixed $files = array() (line 17)
  • access: protected
mixed $format = '' (line 16)
  • access: protected
mixed $from = '' (line 8)
  • access: protected
mixed $fromLabel = '' (line 9)
  • access: protected
mixed $mailErr = '' (line 21)
  • access: protected
mixed $replyTo = '' (line 10)
  • access: protected
mixed $subject = '' (line 14)
  • access: protected
mixed $to = '' (line 11)
  • access: protected
mixed $urgent = false (line 19)
  • access: protected

Inherited Variables

Inherited from Image

Image::$new_name
Image::$obj
Image::$path
Methods
isMail (line 30)

this method verifies if the email adress is correct

  • author: H2LSOFT
  • access: public
boolean isMail (string $address)
  • string $address
mailAttachFile (line 153)

This method allows to attach files to the email.

if $type parameter is not filled, it will affect a type regarding file extension

  • author: H2LSOFT
  • access: public
void mailAttachFile (string $src, string $name, [string $type = ''])
  • string $src
  • string $name
  • string $type
mailBCC (line 117)

This method allows to send a conform copy of the mail.

  • author: H2LSOFT
  • access: public
void mailBCC (string $str)
  • string $str
mailBody (line 138)

This method allows to define the body of the message.

  • author: H2LSOFT
  • access: public
void mailBody (string $str, string $format)
  • string $str
  • string $format: HTML or TXT
mailCC (line 107)

This method allows to send a conform copy of the mail.

  • author: H2LSOFT
  • access: public
void mailCC (string $str)
  • string $str
mailCharset (line 53)

This method allows to change encode by default ISO-8859-15 or UTF8 of the mail.

  • author: H2LSOFT
  • access: public
void mailCharset (string $str)
  • string $str
mailConfirm (line 65)

This method allows to add a confirmation of answer to the email.

  • author: H2LSOFT
  • since: 2.7
  • access: public
void mailConfirm (boolean $bool)
  • boolean $bool
mailError (line 197)

This method allows to return the last error message

  • author: H2LSOFT
  • access: public
string mailError ()
mailFrom (line 76)

This method allows to define the sender of the mail.

  • author: H2LSOFT
  • access: public
void mailFrom (string $str, [string $label = ''])
  • string $str
  • string $label
mailReplyTo (line 87)

This method allows to define a email address for response.

  • author: H2LSOFT
  • access: public
void mailReplyTo (string $str)
  • string $str
mailSend (line 207)

This method allows to send an email.

  • author: H2LSOFT
  • access: public
boolean mailSend ()
mailSubject (line 127)

This methode allows to define the object of the email.

  • author: H2LSOFT
  • access: public
void mailSubject (string $str)
  • string $str
mailTo (line 97)

This method allows to define one of more email address of recipient.

  • author: H2LSOFT
  • access: public
void mailTo (string $str)
  • string $str
mailUrgent (line 43)

This method allows to define a mail with a urgent priority.

  • author: H2LSOFT
  • access: public
void mailUrgent (boolean $bool)
  • boolean $bool

Inherited Methods

Inherited From Rss

 Rss::rssWrite()

Inherited From Image

 Image::fileUpload()
 Image::imgThumbnail()
 Image::imgThumbnailSetOriginal()

Documentation generated on Sat, 06 Mar 2010 21:33:59 +0100 by phpDocumentor 1.4.3