Off topic Mantis en Ubuntu server.

Alejandro Higuita hahiguit en gmail.com
Vie Mar 16 03:56:04 UTC 2012


Buenas noches.

Estoy tratando de configurar gmail como servidor de correo en mantis 1.2.8,
he descargado el fichero phpmailer dentro de la carpeta
/usr/share/mantis/www/core, he cambiado los parametros de correo dentro del
archivo config_inc.php de la sgte manera.

$g_enable_email_notification = ON;
$g_notify_flags['new']['threshold_min'] = REPORTER;
$g_notify_flags['new']['threshold_max'] = REPORTER;
$g_email_receive_own = ON;
$g_use_phpMailer = ON;
$g_send_reset_password = ON;
$g_allow_blank_email = OFF;
$g_validate_email = OFF;
$g_phpMailer_method = 2;
$g_smtp_host = ’ssl://smtp.gmail.com:465′;
$g_smtp_username = ‘(correo)@gmail.com’;
$g_smtp_password = ‘(contraseña)’;
$g_log_level = LOG_EMAIL_RECIPIENT;
$g_log_destination = ‘file:/tmp/mantis_log’;
$g_debug_email = ON;

*también cambié el archivo email_api.php en la funcion:  *function
email_send( $p_email_data )


   if ( !is_blank( ( '(correo)@gmail.com' ) ) ) {
                                # Use SMTP Authentication
                                $mail->SMTPAuth = true;
                                $mail->Username = ( '(correo)@gmail.com' );
                                $mail->Password = ( '(contraseña)' );
                        }

                        if ( !is_blank( ( 'ssl' ) ) ) {
                                $mail->SMTPSecure = ( 'ssl' );
                        }

                        $mail->Port = ( '465' );

                        break;
        }

        $mail->IsHTML( false );              # set email format to plain
text
        $mail->WordWrap = 80;              # set word wrap to 50 characters
        $mail->Priority = $t_email_data->metadata['priority'];  # Urgent =
1, Not Urgent = 5, Disable = 0
        $mail->CharSet = $t_email_data->metadata['charset'];
        $mail->Host = ( 'smtp.gmail.com' );
        $mail->From = ( '(correo)@gmail.com' );
        $mail->Sender = ( '(correo)@gmail.com' );
        $mail->FromName = ( '(correo)@gmail.com' );

cuando hago la solicitud de envio de reseteo de contraseña en el aplicativo
a través de la web no me salen los correos. Si alguien ha logrado
configurarlo le agradesería mucho la ayuda.

Muchas Gracias
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://lists.ubuntu.com/archives/ubuntu-es/attachments/20120315/0af722be/attachment.html>


Más información sobre la lista de distribución ubuntu-es