Solutions Open Source

Référence de la classe t3lib_formmail

Graphe d'héritage de t3lib_formmail:

Inheritance graph
[légende]
Graphe de collaboration de t3lib_formmail:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 start ($V, $base64=false)
 addAttachment ($file, $filename)
 sanitizeHeaderString ($string)

Attributs publics

 $reserved_names = 'recipient,recipient_copy,auto_respond_msg,redirect,subject,attachment,from_email,from_name,replyto_email,replyto_name,organisation,priority,html_enabled,quoted_printable,submit_x,submit_y'
 $dirtyHeaders = array()


Documentation des fonctions membres

t3lib_formmail::start ( V,
base64 = false 
)

Start function This class is able to generate a mail in formmail-style from the data in $V Fields:

[recipient]: email-adress of the one to receive the mail. If array, then all values are expected to be recipients [attachment]: ....

[subject]: The subject of the mail [from_email]: Sender email. If not set, [email] is used [from_name]: Sender name. If not set, [name] is used [replyto_email]: Reply-to email. If not set [from_email] is used [replyto_name]: Reply-to name. If not set [from_name] is used [organisation]: Organisation (header) [priority]: Priority, 1-5, default 3 [html_enabled]: If mail is sent as html [use_base64]: If set, base64 encoding will be used instead of quoted-printable

Paramètres:
array Contains values for the field names listed above (with slashes removed if from POST input)
boolean Whether to base64 encode the mail content
Renvoie:
void

t3lib_formmail::addAttachment ( file,
filename 
)

Adds an attachment to the mail

Paramètres:
string The absolute path to the file to add as attachment
string The files original filename (not necessarily the same as the current since this could be uploaded files...)
Renvoie:
boolean True if the file existed and was added. private

t3lib_formmail::sanitizeHeaderString ( string  ) 

Checks string for suspicious characters

Paramètres:
string String to check
Renvoie:
string Valid or empty string


Documentation des données membres

t3lib_formmail::$reserved_names = 'recipient,recipient_copy,auto_respond_msg,redirect,subject,attachment,from_email,from_name,replyto_email,replyto_name,organisation,priority,html_enabled,quoted_printable,submit_x,submit_y'

t3lib_formmail::$dirtyHeaders = array()


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:42:16 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3