Changeset 3231


Ignore:
Timestamp:
09/13/10 10:24:00 (14 years ago)
Author:
amuller
Message:

Ticket #1057 - Corrigindo envio de confirmação de leitura

Location:
branches/2.2/expressoMail1_2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.imap_functions.inc.php

    r3226 r3231  
    30073007 
    30083008        function send_notification($params){ 
     3009                include("../header.inc.php"); 
    30093010                require_once("class.phpmailer.php"); 
    30103011                $mail = new PHPMailer(); 
     
    30123013                $toaddress = $params['notificationto']; 
    30133014 
    3014                 $subject = 'Confirmação de leitura: ' . $params['subject']; 
    3015                 $body = 'Sua mensagem: ' . $params['subject'] . '<br>'; 
    3016                 $body .= 'foi lida por: ' . $_SESSION['phpgw_info']['expressomail']['user']['fullname'] . ' &lt;' . $_SESSION['phpgw_info']['expressomail']['user']['email'] . '&gt; em ' . date("d/m/Y H:i"); 
     3015                $subject = lang("Read receipt: %1",$params['subject']); 
     3016                $body = lang("Your message: %1",$params['subject']) . '<br>'; 
     3017                $body .= lang("Received in: %1",$params['date']) . '<br>'; 
     3018                $body .= lang("Has been read by: %1 &lt; %2 &gt; at %3", $_SESSION['phpgw_info']['expressomail']['user']['fullname'], $_SESSION['phpgw_info']['expressomail']['user']['email'], date("d/m/Y H:i")); 
    30173019                $mail->SMTPDebug = false; 
    30183020                $mail->IsSMTP(); 
  • branches/2.2/expressoMail1_2/js/main.js

    r3227 r3231  
    358358 
    359359                        if (confNotification) 
    360                                 cExecute ("$this.imap_functions.send_notification&notificationto="+msg_info.DispositionNotificationTo+"&subject="+url_encode(msg_info.subject), handler_sendNotification); 
     360                                cExecute ("$this.imap_functions.send_notification&notificationto="+msg_info.DispositionNotificationTo+"&date="+msg_info.udate+"&subject="+url_encode(msg_info.subject), handler_sendNotification); 
    361361                } 
    362362                //Change msg class to read. 
  • branches/2.2/expressoMail1_2/setup/phpgw_pt-br.lang

    r3223 r3231  
    3030Archiving messages on folder    expressoMail1_2 pt-br   Arquivando mensagens na pasta 
    3131A read confirmation was sent.   expressoMail1_2 pt-br   Uma confirmação de leitura foi enviada. 
     32Read receipt: %1        expressoMail1_2 pt-br   Confirmação de leitura: %1 
     33Your message: %1        expressoMail1_2 pt-br   Sua mensagem: %1 
     34Received in: %1 expressoMail1_2 pt-br   Recebida em: %1 
     35Has been read by: %1 &lt; %2 &gt; at %3 expressoMail1_2 pt-br   Foi lida por: %1 &lt; %2 &gt; em %3 
    3236At %1, %2 hours, %3 wrote:      expressoMail1_2 pt-br   Em %1 às %2 horas, %3 escreveu: 
    3337At least one message have the same origin       expressoMail1_2 pt-br   Pelo menos uma das mensagens está sendo movida para a mesma pasta 
Note: See TracChangeset for help on using the changeset viewer.