Changeset 707 for trunk


Ignore:
Timestamp:
03/17/09 20:15:34 (15 years ago)
Author:
eduardoalex
Message:

Ticket #460

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r693 r707  
    366366                //Substituição de links em email para abrir no próprio expresso 
    367367                $body = ereg_replace("<a[^>]*href=[\'\"]mailto:([^\"\']+)[\'\"]>([^<]+)</a>","<a href=\"javascript:new_message_to('\\1')\">\\2</a>",$return_get_body['body']); 
    368                          
     368                 
    369369                $return['body']                 = $body; 
    370370                $return['attachments']  = $return_get_body['attachments']; 
     
    13921392                                return "The server denied your request to send a mail, you cannot use this mail address."; 
    13931393                } 
     1394                 
     1395                //new_message_to backs to mailto: pattern 
     1396                $params['body'] = eregi_replace("<a href=\"javascript:new_message_to\('(.+)'\)\">.+</a>","<a href='mailto:\\1'>\\1</a>",$params['body']); 
     1397                 
    13941398                $toaddress = implode(',',$db->getAddrs(explode(',',$params['input_to']))); 
    13951399                $ccaddress = implode(',',$db->getAddrs(explode(',',$params['input_cc']))); 
Note: See TracChangeset for help on using the changeset viewer.