OpenSencillo  2016.106
Long live the simplicity of PHP
 All Data Structures Namespaces Files Functions Pages
mailGen Class Reference

Public Member Functions

 to ($to)
 
 from ($from)
 
 subject ($subject)
 
 html ($bool=true)
 
 text ($bool=true)
 
 body ($content)
 
 send ()
 
 compile ()
 

Protected Attributes

 $head
 
 $body
 
 $mail
 
 $from
 
 $to
 
 $charset ='UTF-8'
 
 $ctype ='text/html'
 
 $subject
 

Detailed Description

Definition at line 11 of file mail.generator.mailgen.php.

Member Function Documentation

body (   $content)

Message content

Parameters
string$contentonly one line

Definition at line 98 of file mail.generator.mailgen.php.

compile ( )

Compile mail but not send mail

Returns
mixed multiple array

Definition at line 124 of file mail.generator.mailgen.php.

from (   $from)

Set mail sender

Parameters
string

Definition at line 35 of file mail.generator.mailgen.php.

html (   $bool = true)

Use html mimetype

Parameters
boolean

Definition at line 53 of file mail.generator.mailgen.php.

send ( )

Send mail

Returns
boolean

Definition at line 107 of file mail.generator.mailgen.php.

subject (   $subject)

Set subject

Parameters
subject

Definition at line 44 of file mail.generator.mailgen.php.

text (   $bool = true)

Use text mimetype

Parameters
boolean

Definition at line 69 of file mail.generator.mailgen.php.

to (   $to)

Set mail recipient

Parameters
string

Definition at line 26 of file mail.generator.mailgen.php.


The documentation for this class was generated from the following file: