Static/PhpInclude/FareOfficeLib/3dPart/Rmail/example2.php File Reference

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'))


Variable Documentation

$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()

Now create the email it will be attached to.

Definition at line 33 of file example2.php.

$result = $mail->send(array('foo@goo.com'))

Definition at line 39 of file example2.php.


Generated on Wed May 6 23:10:49 2009 for fareofficelib by  doxygen 1.5.8