Documentation TYPO3 par Ameos |
Public Member Functions | |
t3lib_htmlmail () | |
start () | |
useBase64 () | |
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) | |
Public Attributes | |
$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 | |
$jumperURL_prefix = "" | |
$jumperURL_useId = 0 | |
$mediaList = "" | |
$http_password = "" | |
$http_username = "" | |
$postfix_version1 = false | |
$theParts = Array() | |
$messageid = "" | |
$returnPath = "" | |
$Xid = "" | |
$headers = "" | |
$message = "" | |
$part = 0 | |
$image_fullpath_list = "" | |
$href_fullpath_list = "" | |
$plain_text_header = "Content-Type: text/plain; charset=iso-8859-1\nContent-Transfer-Encoding: quoted-printable" | |
$html_text_header = "Content-Type: text/html; charset=iso-8859-1\nContent-Transfer-Encoding: quoted-printable" |
Definition at line 191 of file class.t3lib_htmlmail.php.
|
Constructor. If the configuration variable forceReturnPath is set, calls to mail will be called with a 5th parameter. See function sendTheMail for more info
Definition at line 255 of file class.t3lib_htmlmail.php. |
|
[Describe function...]
Definition at line 1240 of file class.t3lib_htmlmail.php. Referenced by extractMediaLinks(). |
|
[Describe function...]
Definition at line 732 of file class.t3lib_htmlmail.php. Referenced by setContent(), and setHeaders(). |
|
[Describe function...]
Definition at line 743 of file class.t3lib_htmlmail.php. Referenced by constructAlternative(), constructHTML(), constructHTML_media(), constructMixed(), and setContent(). |
|
[Describe function...]
Definition at line 307 of file class.t3lib_htmlmail.php. References getExtendedURL(), and split_fileref(). |
|
[Describe function...]
Definition at line 325 of file class.t3lib_htmlmail.php. References encodeMsg(), extractFramesInfo(), extractHyperLinks(), extractMediaLinks(), fetchHTML(), fetchHTMLMedia(), substHREFsInHTML(), and substMediaNamesInHTML(). |
|
[Describe function...]
Definition at line 295 of file class.t3lib_htmlmail.php. References encodeMsg(), setPlain(), and substHTTPurlsInPlainText(). Referenced by tt_products_htmlmail::start(), and t3lib_formmail::start(). |
|
[Describe function...]
Definition at line 1154 of file class.t3lib_htmlmail.php. |
|
[Describe function...]
Definition at line 558 of file class.t3lib_htmlmail.php. References add_message(), and getContent(). Referenced by constructHTML(). |
|
[Describe function...]
Definition at line 535 of file class.t3lib_htmlmail.php. References add_message(), constructAlternative(), constructHTML_media(), and getBoundary(). Referenced by constructMixed(), and setContent(). |
|
[Describe function...]
Definition at line 579 of file class.t3lib_htmlmail.php. References add_message(), t3lib_div::inList(), and makeBase64(). Referenced by constructHTML(). |
|
[Describe function...]
Definition at line 496 of file class.t3lib_htmlmail.php. References add_message(), constructHTML(), getBoundary(), getContent(), getHTMLContentType(), and makeBase64(). Referenced by setContent(). |
|
[Describe function...]
Definition at line 1376 of file class.t3lib_htmlmail.php. Referenced by setHeaders(). |
|
[Describe function...]
Definition at line 285 of file class.t3lib_htmlmail.php. References makeBase64(), and t3lib_div::quoted_printable(). Referenced by addHTML(), addPlain(), tx_install::check_mail(), t3lib_dmailer::dmailer_sendAdvanced(), t3lib_dmailer::dmailer_sendSimple(), tt_products_htmlmail::start(), and t3lib_formmail::start(). |
|
[Describe function...]
Definition at line 1287 of file class.t3lib_htmlmail.php. Referenced by fetchHTML(). |
|
[Describe function...]
Definition at line 955 of file class.t3lib_htmlmail.php. Referenced by addHTML(). |
|
External used to extract HTML-parts
Definition at line 348 of file class.t3lib_htmlmail.php. |
|
[Describe function...]
Definition at line 906 of file class.t3lib_htmlmail.php. Referenced by addHTML(), and tt_products_htmlmail::start(). |
|
[Describe function...]
Definition at line 830 of file class.t3lib_htmlmail.php. References absRef(), get_tag_attributes(), and tag_regex(). Referenced by addHTML(), and tt_products_htmlmail::start(). |
|
Definition at line 791 of file class.t3lib_htmlmail.php. References extParseUrl(), and getURL(). Referenced by addHTML(). |
|
[Describe function...]
Definition at line 809 of file class.t3lib_htmlmail.php. References getExtendedURL(). Referenced by addHTML(), and tt_products_htmlmail::start(). |
|
[Describe function...]
Definition at line 1076 of file class.t3lib_htmlmail.php. |
|
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();
Definition at line 1324 of file class.t3lib_htmlmail.php. Referenced by extractMediaLinks(). |
|
[Describe function...]
Definition at line 698 of file class.t3lib_htmlmail.php. Referenced by constructHTML(), constructMixed(), and setContent(). |
|
[Describe function...]
Definition at line 754 of file class.t3lib_htmlmail.php. Referenced by constructAlternative(), constructMixed(), and setContent(). |
|
[Describe function...]
Definition at line 1134 of file class.t3lib_htmlmail.php. Referenced by addAttachment(), and fetchHTMLMedia(). |
|
[Describe function...]
Definition at line 460 of file class.t3lib_htmlmail.php. Referenced by constructMixed(), and setContent(). |
|
[Describe function...]
Definition at line 1211 of file class.t3lib_htmlmail.php. |
|
[Describe function...]
Definition at line 1190 of file class.t3lib_htmlmail.php. |
|
[Describe function...]
Definition at line 1169 of file class.t3lib_htmlmail.php. Referenced by fetchHTML(). |
|
Definition at line 1123 of file class.t3lib_htmlmail.php. Referenced by constructHTML_media(), constructMixed(), and encodeMsg(). |
|
[Describe function...]
Definition at line 763 of file class.t3lib_htmlmail.php. |
|
Implementation of quoted-printable encode. This function was a duplicate of t3lib_div::quoted_printable, thus it's going to be removed.
Definition at line 1366 of file class.t3lib_htmlmail.php. References t3lib_div::quoted_printable(). Referenced by t3lib_formmail::start(). |
|
[Describe function...]
Definition at line 359 of file class.t3lib_htmlmail.php. References $recipient, sendTheMail(), setContent(), and setHeaders(). |
|
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).
Definition at line 632 of file class.t3lib_htmlmail.php. References $returnPath, and $theParts. Referenced by send(). |
|
[Describe function...]
Definition at line 469 of file class.t3lib_htmlmail.php. References add_header(), add_message(), constructHTML(), constructMixed(), getBoundary(), getContent(), and getHTMLContentType(). Referenced by t3lib_dmailer::dmailer_sendAdvanced(), t3lib_dmailer::dmailer_sendSimple(), send(), tt_products_htmlmail::start(), and t3lib_formmail::start(). |
|
Definition at line 388 of file class.t3lib_htmlmail.php. References add_header(), and convertName(). Referenced by t3lib_dmailer::dmailer_sendAdvanced(), t3lib_dmailer::dmailer_sendSimple(), send(), tt_products_htmlmail::start(), and t3lib_formmail::start(). |
|
[Describe function...]
Definition at line 721 of file class.t3lib_htmlmail.php. |
|
[Describe function...]
Definition at line 710 of file class.t3lib_htmlmail.php. Referenced by addPlain(). |
|
[Describe function...]
Definition at line 442 of file class.t3lib_htmlmail.php. Referenced by t3lib_dmailer::dmailer_sendAdvanced(), t3lib_dmailer::dmailer_sendSimple(), tt_products_htmlmail::start(), and t3lib_formmail::start(). |
|
[Describe function...]
Definition at line 1260 of file class.t3lib_htmlmail.php. Referenced by addAttachment(). |
|
Definition at line 262 of file class.t3lib_htmlmail.php. |
|
[Describe function...]
Definition at line 1008 of file class.t3lib_htmlmail.php. Referenced by addHTML(), and tt_products_htmlmail::start(). |
|
[Describe function...]
Definition at line 1036 of file class.t3lib_htmlmail.php. Referenced by addPlain(). |
|
[Describe function...]
Definition at line 981 of file class.t3lib_htmlmail.php. Referenced by addHTML(), and tt_products_htmlmail::start(). |
|
[Describe function...]
Definition at line 1302 of file class.t3lib_htmlmail.php. Referenced by extractMediaLinks(). |
|
[Describe function...]
Definition at line 273 of file class.t3lib_htmlmail.php. Referenced by t3lib_dmailer::dmailer_prepare(), t3lib_dmailer::dmailer_sendSimple(), and t3lib_formmail::start(). |