im a total noob with objects in objects.
Can anyone help me get the from,to etc
<?php
/**
* verander_body
*
* Sample plugin to replace emoticons in plain text message body with real icons
*
* @version 1.0
* @author Gerd K
* @url http://www.domain.com
*/
class verander_body extends rcube_plugin
{
public $task = 'mail';
private $inhoud = '';
function init()
{
$app = rcmail::get_instance ();
$this->add_hook('message_compose_body', array($this, 'replace'));
}
function replace($args,$inhoud)
{
$args['body'] = print_r($args,1)."|".print_r($this,1);
return $args;
}
}
?>