Class email

Description

Located in /email.class.php (line 16)


	
			
Method Summary
email __construct (string $from, string $subject, [string $replyto = ''], [string $notificationto = ''], [string $useragent = 'PHP/ReptilerEMailClass'])
void addattachment (string $filename, [bool $inline = false])
void addheader (string $header)
void addrecipient (string $recipient, [string $type = 'To'])
string composemail ()
bool sendmail ()
void sethtmlbody (string $body)
void settextbody (string $body)
Methods
Constructor __construct (line 100)

Constructor

  • access: public
email __construct (string $from, string $subject, [string $replyto = ''], [string $notificationto = ''], [string $useragent = 'PHP/ReptilerEMailClass'])
  • string $from
  • string $subject
  • string $replyto
  • string $notificationto
  • string $useragent
addattachment (line 182)

Add an attachment.

  • access: public
void addattachment (string $filename, [bool $inline = false])
  • string $filename
  • bool $inline
addheader (line 200)

Add an additional header.

  • access: public
void addheader (string $header)
  • string $header
addrecipient (line 156)

Add a recipient.

  • access: public
void addrecipient (string $recipient, [string $type = 'To'])
  • string $recipient
  • string $type
composemail (line 235)

Compose the mail.

  • access: public
string composemail ()
sendmail (line 332)

Send the mail.

  • access: public
bool sendmail ()
sethtmlbody (line 145)

Set the HTML body.

  • access: public
void sethtmlbody (string $body)
  • string $body
settextbody (line 135)

Set the clear-text body.

  • access: public
void settextbody (string $body)
  • string $body

Documentation generated on Thu, 12 Mar 2009 16:30:21 +0800 by phpDocumentor 1.4.2