- Timestamp:
- 03/17/09 20:15:34 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r693 r707 366 366 //Substituição de links em email para abrir no próprio expresso 367 367 $body = ereg_replace("<a[^>]*href=[\'\"]mailto:([^\"\']+)[\'\"]>([^<]+)</a>","<a href=\"javascript:new_message_to('\\1')\">\\2</a>",$return_get_body['body']); 368 368 369 369 $return['body'] = $body; 370 370 $return['attachments'] = $return_get_body['attachments']; … … 1392 1392 return "The server denied your request to send a mail, you cannot use this mail address."; 1393 1393 } 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 1394 1398 $toaddress = implode(',',$db->getAddrs(explode(',',$params['input_to']))); 1395 1399 $ccaddress = implode(',',$db->getAddrs(explode(',',$params['input_cc'])));
Note: See TracChangeset
for help on using the changeset viewer.