Changeset 2272 for trunk/expressoMail1_2/inc/class.imap_functions.inc.php
- Timestamp:
- 03/16/10 18:09:02 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r2247 r2272 1867 1867 include_once("class.phpmailer.php"); 1868 1868 $mail = new PHPMailer(); 1869 // Set lang for PHPMailer using user prefs. 1870 list($prefix,$userlang) = explode('-',$_SESSION['phpgw_info']['expressomail']['user']['preferences']['common']['lang']); 1871 $mail->SetLanguage($userlang,dirname( __FILE__ )."/../setup/"); 1869 1872 include_once("class.db_functions.inc.php"); 1870 1873 $db = new db_functions(); … … 2560 2563 include_once("class.phpmailer.php"); 2561 2564 $mail = new PHPMailer(); 2565 // Set lang for PHPMailer using user prefs. 2566 list($prefix,$userlang) = explode('-',$_SESSION['phpgw_info']['expressomail']['user']['preferences']['common']['lang']); 2567 $mail->SetLanguage($userlang,dirname( __FILE__ )."/../setup/"); 2562 2568 include_once("class.db_functions.inc.php"); 2563 2569 $toaddress = $params['input_to']; … … 3070 3076 require_once("class.phpmailer.php"); 3071 3077 $mail = new PHPMailer(); 3078 // Set lang for PHPMailer using user prefs. 3079 list($prefix,$userlang) = explode('-',$_SESSION['phpgw_info']['expressomail']['user']['preferences']['common']['lang']); 3080 $mail->SetLanguage($userlang,dirname( __FILE__ )."/../setup/"); 3072 3081 3073 3082 $toaddress = $params['notificationto'];
Note: See TracChangeset
for help on using the changeset viewer.