Go to the source code of this file.
Variables | |
$attachment = new Rmail() | |
o------------------------------------------------------------------------------o | This package is licensed under the Phpguru license. | |
$body = $attachment->getRFC822(array('bob@dole.com')) | |
$mail = new Rmail() | |
Now create the email it will be attached to. | |
$result = $mail->send(array('foo@goo.com')) |
$attachment = new Rmail() |
o------------------------------------------------------------------------------o | This package is licensed under the Phpguru license.
A quick summary is | | that for commercial use, there is a small one-time licensing fee to pay. For | | registered charities and educational institutes there is a reduced license | | fee available. You can read more at: | | | | http://www.phpguru.org/static/license.html | o------------------------------------------------------------------------------o
© Copyright 2008,2009 Richard Heyes This example shows you how to create an email with another email attached Create the attached email
Definition at line 24 of file example2.php.
Referenced by Rmail::addAttachment().
$body = $attachment->getRFC822(array('bob@dole.com')) |
Definition at line 28 of file example2.php.
$mail = new Rmail() |
$result = $mail->send(array('foo@goo.com')) |
Definition at line 39 of file example2.php.