⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (644 Bytes)
Bug #18701
» user_sendmail.php
Administrator Admin, 2008-05-04 17:05
<?php
function
user_sendmail
()
{
$mail
=
t3lib_div
::
makeInstance
(
't3lib_htmlmail'
);
/* @var $mail t3lib_htmlmail */
$mail
->
start
();
$mail
->
setPlain
(
't3lib_htmlmail says: "Hello world!"'
);
$mail
->
from_name
=
'John Doe'
;
$mail
->
from_email
=
'john@test.com'
;
$mail
->
subject
=
't3lib_htmlmail test'
;
$mail
->
returnPath
=
'<john@test.com>'
;
$mail
->
send
(
'"John Doe" <john@test.com>'
);
t3lib_div
::
plainMailEncoded
(
'"John Doe" <john@test.com>'
,
't3lib_div::plainMailEncoded() test'
,
't3lib_div::plainMailEncoded() says: "Hello world!"'
,
'From: "John Doe" <john@test.com>'
.
chr
(
10
)
.
'Return-path: <john@test.com>'
);
echo
'Mails sent'
;
}
?>
« Previous
1
2
3
4
5
6
7
Next »
(4-4/7)
Loading...