configurar el siguiente archivo PHP

Buenas, estoy intentando configurar en joomla un pluggin de Docman para que cuando alguien suba o edite algun archivo mande un mail, pero en las instrucciones dice que tengo que modificar el siguiente archivo pero no veo donde puedo poner las direcciones de mail que quiero.

<?php
/**
* MjazTools Notify for DOCman
* @version      $Id: email.php 36 2007-09-06 07:27:15Z mjaz $
* @package      mjaztools_notifydm
* @copyright    Copyright (C) 2007 MjazTools. All rights reserved.
* @license      GNU/GPL
* @link         http://www.mjaztools.com/ Official Site
*/
defined( '_VALID_MOS' ) or die( 'Restricted Access.' );

/*
These are the variables you can use in the body

Action            $this->action (upload, edit, or download)

Info
    Date         $this->info->date
    Time         $this->info->time
    OS            $this->info->os
    Browser       $this->info->browser

User
    User ID         $this->user->id
    Name         $this->user->name
    Username      $this->user->username
    E-mail         $this->user->email
    Usertype      $this->user->usertype
    Group ID      $this->user->gid
    Registered      $this->user->registerDate
    Last Visit      $this->user->lastvisitDate
    IP            $this->user->ip

Site
    Site Name      $this->site->name
    Site Url      $this->site->url

File
    Filename      $this->file->name
    Mimetype      $this->file->mime
    Extension      $this->file->ext
    Filesize      $this->file->size
    File date      $this->file->date

Document
   Title         $this->doc->dmname
    ID            $this->doc->id
    Category ID      $this->doc->catid
   Description      $this->doc->dmdescription
    Date         $this->doc->dmdate_published
    Owner         $this->doc->dmowner
    Filename      $this->doc->dmfilename
    Url            $this->doc->dmurl
    Hits         $this->doc->dmcounter
   Last Updated   $this->doc->dmlastupdateon
   License         $this->doc->dmlicense_display
    License ID      $this->doc->dmlicense_id
    Access         $this->doc->access
    Published      $this->doc->published
    Checked out      $this->doc->checked_out
    Time         $this->doc->checked_out_time
    Approved      $this->doc->approved
    Last Updater   $this->doc->dmlastupdateby
    Submitted by   $this->doc->dmsubmitedby
    Maintainer      $this->doc->dmmantainedby

*/
?>

<p>Hi,<br />
<?php echo $this->user->name.$this->actionlang?>
<a href="<?php echo $this->site->url?>"><?php echo $this->site->name?></a>
</p>

<table style="border:1px silver dotted">
<tr>
    <th>Date</th>
    <td><?php echo $this->info->date?></td>
</tr>
<tr>
    <th>Time</th>
    <td><?php echo $this->info->time?></td>
</tr>
</table>

<br />

<table style="border:1px silver dotted">
<caption>User info</caption>
<tr>
    <th>Name</th>
    <td><?php echo $this->user->name?></td>
</tr>
<tr>
    <th>Username</th>
    <td><?php echo $this->user->username?></td>
</tr>
<tr>
    <th>Email</th>
    <td><?php echo $this->user->email?></td>
</tr>
<tr>
    <th>Usertype</th>
    <td><?php echo $this->user->usertype?></td>
</tr>
<tr>
    <th>IP</th>
    <td><?php echo $this->user->ip?></td>
</tr>
<tr>
    <th>Browser &amp; OS</th>
    <td><?php echo $this->info->browser?> on <?php echo $this->info->os?></td>
</tr>
</table>
<br />

<?php if( $this->action !='upload') {?>
    <table style="border:1px silver dotted">
        <caption>Document Info</caption>
        <tr>
            <th>Title</th>
            <td>
                <a href="<?php echo $this->doc->link?>">
                    <?php echo $this->doc->dmname?>
                </a>
            </td>
        </tr>
        <tr>
            <th>Description</th>
            <td><?php echo $this->doc->dmdescription?></td>
        </tr>
        <tr>
            <th>Owner</th>
            <td><?php echo $this->doc->dmowner?></td>
        </tr>
        <tr>
            <th>Hits</th>
            <td><?php echo $this->doc->dmcounter?></td>
        </tr>
        <tr>
            <th>Published</th>
            <td><?php echo $this->doc->published?></td>
        </tr>
    </table>
<?php } ?>
<br />

<table style="border:1px silver dotted">
<caption>File info</caption>
<tr>
    <th>Name</th>
    <td><?php echo $this->file->name?></td>
</tr>
<tr>
    <th>Mimetype</th>
    <td><?php echo $this->file->mime?></td>
</tr>
<tr>
    <th>Extension</th>
    <td><?php echo $this->file->ext?></td>
</tr>
<tr>
    <th>Filesize</th>
    <td><?php echo $this->file->size?></td>
</tr>
</table>
<br />


Saludos y gracias
Intenta con esto:

<?php
/**
* MjazTools Notify for DOCman
* @version      $Id: email.php 36 2007-09-06 07:27:15Z mjaz $
* @package      mjaztools_notifydm
* @copyright    Copyright (C) 2007 MjazTools. All rights reserved.
* @license      GNU/GPL
* @link         http://www.mjaztools.com/ Official Site
*/
defined( '_VALID_MOS' ) or die( 'Restricted Access.' );

/*
These are the variables you can use in the body

Action            $this->action (upload, edit, or download)

Info
    Date         $this->info->date
    Time         $this->info->time
    OS            $this->info->os
    Browser       $this->info->browser

User
    User ID         $this->user->id
    Name         $this->user->name
    Username      $this->user->username
    E-mail         $this->user->email
    Usertype      $this->user->usertype
    Group ID      $this->user->gid
    Registered      $this->user->registerDate
    Last Visit      $this->user->lastvisitDate
    IP            $this->user->ip

Site
    Site Name      $this->site->name
    Site Url      $this->site->url

File
    Filename      $this->file->name
    Mimetype      $this->file->mime
    Extension      $this->file->ext
    Filesize      $this->file->size
    File date      $this->file->date

Document
   Title         $this->doc->dmname
    ID            $this->doc->id
    Category ID      $this->doc->catid
   Description      $this->doc->dmdescription
    Date         $this->doc->dmdate_published
    Owner         $this->doc->dmowner
    Filename      $this->doc->dmfilename
    Url            $this->doc->dmurl
    Hits         $this->doc->dmcounter
   Last Updated   $this->doc->dmlastupdateon
   License         $this->doc->dmlicense_display
    License ID      $this->doc->dmlicense_id
    Access         $this->doc->access
    Published      $this->doc->published
    Checked out      $this->doc->checked_out
    Time         $this->doc->checked_out_time
    Approved      $this->doc->approved
    Last Updater   $this->doc->dmlastupdateby
    Submitted by   $this->doc->dmsubmitedby
    Maintainer      $this->doc->dmmantainedby

*/

mail($this->user->email,"Se ha subido un nuevo archivo","El usuario " . $this->user->username . " ha subido el archivo " . $this->file->name . " con un peso de " . $this->file->size,"De: Sistema de Aviso de Subidas");

?>

<p>Hi,<br />
<?php echo $this->user->name.$this->actionlang?>
<a href="<?php echo $this->site->url?>"><?php echo $this->site->name?></a>
</p>

<table style="border:1px silver dotted">
<tr>
    <th>Date</th>
    <td><?php echo $this->info->date?></td>
</tr>
<tr>
    <th>Time</th>
    <td><?php echo $this->info->time?></td>
</tr>
</table>

<br />

<table style="border:1px silver dotted">
<caption>User info</caption>
<tr>
    <th>Name</th>
    <td><?php echo $this->user->name?></td>
</tr>
<tr>
    <th>Username</th>
    <td><?php echo $this->user->username?></td>
</tr>
<tr>
    <th>Email</th>
    <td><?php echo $this->user->email?></td>
</tr>
<tr>
    <th>Usertype</th>
    <td><?php echo $this->user->usertype?></td>
</tr>
<tr>
    <th>IP</th>
    <td><?php echo $this->user->ip?></td>
</tr>
<tr>
    <th>Browser &amp; OS</th>
    <td><?php echo $this->info->browser?> on <?php echo $this->info->os?></td>
</tr>
</table>
<br />

<?php if( $this->action !='upload') {?>
    <table style="border:1px silver dotted">
        <caption>Document Info</caption>
        <tr>
            <th>Title</th>
            <td>
                <a href="<?php echo $this->doc->link?>">
                    <?php echo $this->doc->dmname?>
                </a>
            </td>
        </tr>
        <tr>
            <th>Description</th>
            <td><?php echo $this->doc->dmdescription?></td>
        </tr>
        <tr>
            <th>Owner</th>
            <td><?php echo $this->doc->dmowner?></td>
        </tr>
        <tr>
            <th>Hits</th>
            <td><?php echo $this->doc->dmcounter?></td>
        </tr>
        <tr>
            <th>Published</th>
            <td><?php echo $this->doc->published?></td>
        </tr>
    </table>
<?php } ?>
<br />

<table style="border:1px silver dotted">
<caption>File info</caption>
<tr>
    <th>Name</th>
    <td><?php echo $this->file->name?></td>
</tr>
<tr>
    <th>Mimetype</th>
    <td><?php echo $this->file->mime?></td>
</tr>
<tr>
    <th>Extension</th>
    <td><?php echo $this->file->ext?></td>
</tr>
<tr>
    <th>Filesize</th>
    <td><?php echo $this->file->size?></td>
</tr>
</table>
<br />


Solamente he añadido esta línea de código, si quieres hacerle algunas modificaciones, te dejo exactamente como esta la línea en el código fuente:

mail($this->user->email,"Se ha subido un nuevo archivo","El usuario " . $this->user->username . " ha subido el archivo " . $this->file->name . " con un peso de " . $this->file->size,"De: Sistema de Aviso de Subidas");


Recuerda que $this->user->email es el correo a donde se va a mandar el mail

Saludos ;)
mmmm osea que tengo que poner eso???

    mail(MIEMAIL@MIEMAIL.COM,"Se ha subido un nuevo archivo","El usuario " . $this->user->username . " ha subido el archivo " . $this->file->name . " con un peso de " . $this->file->size,"De: Sistema de Aviso de Subidas");


Si pongo eso, no funciona, se queda en blanco.

No me aclaro la verdad... [mamaaaaa] [mamaaaaa] [mamaaaaa]

Muchas gracias por la ayuda.
Revisa si te ha llegado el mensaje al mail que pusiste en la función
Muchisimas gracias eduardo960 por la ayuda pero no habia que modificar nada en ese archivo para que envie el mail, solo si quiero traducirlo o modificar el diseño.

saludos y gracias
4 respuestas