Solutions Open Source

Référence de la classe t3lib_htmlmail

Graphe d'héritage de t3lib_htmlmail:

Inheritance graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 t3lib_htmlmail ()
 start ()
 useQuotedPrintable ()
 useBase64 ()
 use8Bit ()
 encodeMsg ($content)
 addPlain ($content)
 addAttachment ($file)
 addHTML ($file)
 extractHtmlInit ($html, $url)
 send ($recipient)
 setHeaders ()
 setRecipient ($recip)
 getHTMLContentType ()
 setContent ()
 constructMixed ($boundary)
 constructHTML ($boundary)
 constructAlternative ($boundary)
 constructHTML_media ($boundary)
 sendTheMail ()
 getBoundary ()
 setPlain ($content)
 setHtml ($content)
 add_header ($header)
 add_message ($string)
 getContent ($type)
 preview ()
 fetchHTML ($file)
 fetchHTMLMedia ()
 extractMediaLinks ()
 extractHyperLinks ()
 extractFramesInfo ()
 substMediaNamesInHTML ($absolute)
 substHREFsInHTML ()
 substHTTPurlsInPlainText ($content)
 fixRollOvers ()
 makeBase64 ($inputstr)
 getExtendedURL ($url)
 addUserPass ($url)
 getURL ($url)
 getStrippedURL ($url)
 getMimeType ($url)
 absRef ($ref)
 split_fileref ($fileref)
 extParseUrl ($path)
 tag_regex ($tagArray)
 get_tag_attributes ($tag)
 quoted_printable ($string)
 convertName ($name)

Attributs publics

 $recipient = "recipient@whatever.com"
 $recipient_copy = ""
 $subject = "This is the subject"
 $from_email = "sender@php-mailer.com"
 $from_name = "Mr. Sender"
 $replyto_email = "reply@mailer.com"
 $replyto_name = "Mr. Reply"
 $organisation = "Your Company"
 $priority = 3
 $mailer = "PHP mailer"
 $alt_base64 = 0
 $alt_8bit = 0
 $jumperURL_prefix = ""
 $jumperURL_useId = 0
 $mediaList = ""
 $http_password = ""
 $http_username = ""
 $postfix_version1 = false
 $theParts = Array()
 $messageid = ""
 $returnPath = ""
 $Xid = ""
 $dontEncodeHeader = false
 $headers = ""
 $message = ""
 $part = 0
 $image_fullpath_list = ""
 $href_fullpath_list = ""
 $plain_text_header = ''
 $html_text_header = ''
 $charset = ''
 $defaultCharset = 'iso-8859-1'


Documentation des fonctions membres

t3lib_htmlmail::t3lib_htmlmail (  ) 

Constructor. If the configuration variable forceReturnPath is set, calls to mail will be called with a 5th parameter. See function sendTheMail for more info

Renvoie:
[type] ...

t3lib_htmlmail::start (  ) 

Renvoie:
[type] ...

t3lib_htmlmail::useQuotedPrintable (  ) 

[Describe function...]

Renvoie:
void

t3lib_htmlmail::useBase64 (  ) 

[Describe function...]

Renvoie:
void

t3lib_htmlmail::use8Bit (  ) 

[Describe function...]

Renvoie:
void

t3lib_htmlmail::encodeMsg ( content  ) 

[Describe function...]

Paramètres:
[type] $content: ...
Renvoie:
[type] ...

t3lib_htmlmail::addPlain ( content  ) 

[Describe function...]

Paramètres:
[type] $content: ...
Renvoie:
[type] ...

t3lib_htmlmail::addAttachment ( file  ) 

[Describe function...]

Paramètres:
[type] $file: ...
Renvoie:
[type] ...

t3lib_htmlmail::addHTML ( file  ) 

[Describe function...]

Paramètres:
[type] $file: ...
Renvoie:
[type] ...

t3lib_htmlmail::extractHtmlInit ( html,
url 
)

External used to extract HTML-parts

Paramètres:
[type] $html: ...
[type] $url: ...
Renvoie:
[type] ...

t3lib_htmlmail::send ( recipient  ) 

[Describe function...]

Paramètres:
[type] $recipient: ...
Renvoie:
[type] ...

t3lib_htmlmail::setHeaders (  ) 

Renvoie:
[type] ...

t3lib_htmlmail::setRecipient ( recip  ) 

[Describe function...]

Paramètres:
[type] $recip: ...
Renvoie:
[type] ...

t3lib_htmlmail::getHTMLContentType (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::setContent (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::constructMixed ( boundary  ) 

[Describe function...]

Paramètres:
[type] $boundary: ...
Renvoie:
[type] ...

t3lib_htmlmail::constructHTML ( boundary  ) 

[Describe function...]

Paramètres:
[type] $boundary: ...
Renvoie:
[type] ...

t3lib_htmlmail::constructAlternative ( boundary  ) 

[Describe function...]

Paramètres:
[type] $boundary: ...
Renvoie:
[type] ...

t3lib_htmlmail::constructHTML_media ( boundary  ) 

[Describe function...]

Paramètres:
[type] $boundary: ...
Renvoie:
[type] ...

t3lib_htmlmail::sendTheMail (  ) 

Sends the mail by calling the mail() function in php. On Linux systems this will invoke the MTA defined in php.ini (sendmail -t -i by default), on Windows a SMTP must be specified in the sys.ini. Most common MTA's on Linux has a Sendmail interface, including Postfix and Exim. For setting the return-path correctly, the parameter -f has to be added to the system call to sendmail. This obviously does not have any effect on Windows, but on Sendmail compliant systems this works. If safe mode is enabled, then extra parameters is not allowed, so a safe mode check is made before the mail() command is invoked. When using the -f parameter, some MTA's will put an X-AUTHENTICATION-WARNING saying that the return path was modified manually with the -f flag. To disable this warning make sure that the user running Apache is in the /etc/mail/trusted-users table.

POSTFIX: With postfix version below 2.0 there is a problem that the -f parameter can not be used in conjunction with -t. Postfix will give an error in the maillog:

cannot handle command-line recipients with -t

The -f parameter is only enabled if the parameter forceReturnPath is enabled in the install tool.

This whole problem of return-path turns out to be quite tricky. If you have a solution that works better, on all standard MTA's then we are very open for suggestions.

With time this function should be made such that several ways of sending the mail is possible (local MTA, smtp other).

Renvoie:
[type] ...

t3lib_htmlmail::getBoundary (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::setPlain ( content  ) 

[Describe function...]

Paramètres:
[type] $content: ...
Renvoie:
[type] ...

t3lib_htmlmail::setHtml ( content  ) 

[Describe function...]

Paramètres:
[type] $content: ...
Renvoie:
[type] ...

t3lib_htmlmail::add_header ( header  ) 

[Describe function...]

Paramètres:
[type] $header: ...
Renvoie:
[type] ...

t3lib_htmlmail::add_message ( string  ) 

[Describe function...]

Paramètres:
[type] $string: ...
Renvoie:
[type] ...

t3lib_htmlmail::getContent ( type  ) 

[Describe function...]

Paramètres:
[type] $type: ...
Renvoie:
[type] ...

t3lib_htmlmail::preview (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::fetchHTML ( file  ) 

Paramètres:
[type] $file: ...
Renvoie:
[type] ...

t3lib_htmlmail::fetchHTMLMedia (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::extractMediaLinks (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::extractHyperLinks (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::extractFramesInfo (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::substMediaNamesInHTML ( absolute  ) 

[Describe function...]

Paramètres:
[type] $absolute: ...
Renvoie:
[type] ...

t3lib_htmlmail::substHREFsInHTML (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::substHTTPurlsInPlainText ( content  ) 

[Describe function...]

Paramètres:
[type] $content: ...
Renvoie:
[type] ...

t3lib_htmlmail::fixRollOvers (  ) 

[Describe function...]

Renvoie:
[type] ...

t3lib_htmlmail::makeBase64 ( inputstr  ) 

Paramètres:
[type] $inputstr: ...
Renvoie:
[type] ...

t3lib_htmlmail::getExtendedURL ( url  ) 

[Describe function...]

Paramètres:
[type] $url: ...
Renvoie:
[type] ...

t3lib_htmlmail::addUserPass ( url  ) 

[Describe function...]

Paramètres:
[type] $url: ...
Renvoie:
[type] ...

t3lib_htmlmail::getURL ( url  ) 

[Describe function...]

Paramètres:
[type] $url: ...
Renvoie:
[type] ...

t3lib_htmlmail::getStrippedURL ( url  ) 

[Describe function...]

Paramètres:
[type] $url: ...
Renvoie:
[type] ...

t3lib_htmlmail::getMimeType ( url  ) 

This function returns the mime type of the file specified by the url

Paramètres:
string $url: the url
Renvoie:
string $mimeType: the mime type found in the header

t3lib_htmlmail::absRef ( ref  ) 

[Describe function...]

Paramètres:
[type] $ref: ...
Renvoie:
[type] ...

t3lib_htmlmail::split_fileref ( fileref  ) 

[Describe function...]

Paramètres:
[type] $fileref: ...
Renvoie:
[type] ...

t3lib_htmlmail::extParseUrl ( path  ) 

[Describe function...]

Paramètres:
[type] $path: ...
Renvoie:
[type] ...

t3lib_htmlmail::tag_regex ( tagArray  ) 

[Describe function...]

Paramètres:
[type] $tagArray: ...
Renvoie:
[type] ...

t3lib_htmlmail::get_tag_attributes ( tag  ) 

analyses a HTML-tag $tag is either like this "<TAG OPTION ATTRIB=VALUE>" or this " OPTION ATTRIB=VALUE>" which means you can omit the tag-name returns an array with the attributes as keys in lower-case If an attribute is empty (like OPTION) the value of that key is just empty. Check it with is_set();

Paramètres:
[type] $tag: ...
Renvoie:
[type] ...

t3lib_htmlmail::quoted_printable ( string  ) 

Implementation of quoted-printable encode. This function was a duplicate of t3lib_div::quoted_printable, thus it's going to be removed.

Paramètres:
string Content to encode
Renvoie:
string The QP encoded string

t3lib_htmlmail::convertName ( name  ) 

[Describe function...]

Paramètres:
[type] $name: ...
Renvoie:
[type] ...
Obsolète:


Documentation des données membres

t3lib_htmlmail::$recipient = "recipient@whatever.com"

t3lib_htmlmail::$recipient_copy = ""

t3lib_htmlmail::$subject = "This is the subject"

t3lib_htmlmail::$from_email = "sender@php-mailer.com"

t3lib_htmlmail::$from_name = "Mr. Sender"

t3lib_htmlmail::$replyto_email = "reply@mailer.com"

t3lib_htmlmail::$replyto_name = "Mr. Reply"

t3lib_htmlmail::$organisation = "Your Company"

t3lib_htmlmail::$priority = 3

t3lib_htmlmail::$mailer = "PHP mailer"

t3lib_htmlmail::$alt_base64 = 0

t3lib_htmlmail::$alt_8bit = 0

t3lib_htmlmail::$jumperURL_prefix = ""

t3lib_htmlmail::$jumperURL_useId = 0

t3lib_htmlmail::$mediaList = ""

t3lib_htmlmail::$http_password = ""

t3lib_htmlmail::$http_username = ""

t3lib_htmlmail::$postfix_version1 = false

t3lib_htmlmail::$theParts = Array()

t3lib_htmlmail::$messageid = ""

t3lib_htmlmail::$returnPath = ""

t3lib_htmlmail::$Xid = ""

t3lib_htmlmail::$dontEncodeHeader = false

t3lib_htmlmail::$headers = ""

t3lib_htmlmail::$message = ""

t3lib_htmlmail::$part = 0

t3lib_htmlmail::$image_fullpath_list = ""

t3lib_htmlmail::$href_fullpath_list = ""

t3lib_htmlmail::$plain_text_header = ''

t3lib_htmlmail::$html_text_header = ''

t3lib_htmlmail::$charset = ''

t3lib_htmlmail::$defaultCharset = 'iso-8859-1'


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