Changeset 1638
- Timestamp:
- 11/13/09 13:24:21 (14 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r1630 r1638 2299 2299 $toaddress = $params['input_to']; 2300 2300 $ccaddress = $params['input_cc']; 2301 $ccoaddress = $params['input_cco']; 2301 2302 $subject = $params['input_subject']; 2302 2303 $msg_uid = $params['msg_id']; … … 2316 2317 $folder = @eregi_replace("INBOX.", "INBOX".$this->imap_delimiter, $folder); 2317 2318 // End Fix. 2318 2319 if(strtoupper($folder) == 'INBOX/DRAFTS') 2320 { 2321 $mail->SaveMessageAsDraft = $folder; 2322 } 2319 2323 $mail->SaveMessageInFolder = $folder; 2320 2324 $mail->SMTPDebug = false; … … 2333 2337 $this->add_recipients("to", $toaddress, &$mail); 2334 2338 $this->add_recipients("cc", $ccaddress, &$mail); 2339 $this->add_recipients("cco", $ccoaddress, &$mail); 2335 2340 $mail->Subject = $subject; 2336 2341 $mail->IsHTML(true); -
trunk/expressoMail1_2/inc/class.phpmailer.php
r1247 r1638 1020 1020 } 1021 1021 1022 $from = array(); 1023 $from[0][0] = trim($this->From); 1024 $from[0][1] = $this->FromName; 1025 $result .= $this->AddrAppend("From", $from); 1026 /* 1022 1027 if (!$this->SaveMessageAsDraft){ 1023 1028 $from = array(); … … 1032 1037 $result .= $this->AddrAppend("Sender", $sender); 1033 1038 } 1034 1039 */ 1035 1040 // sendmail and mail() extract Bcc from the header before sending 1036 1041 if((($this->Mailer == "sendmail") || ($this->Mailer == "mail")) && (count($this->bcc) > 0)) 1037 1042 $result .= $this->AddrAppend("Bcc", $this->bcc); 1038 1043 if ($this->SaveMessageAsDraft){ 1044 $result .= $this->AddrAppend("Bcc", $this->bcc); 1045 } 1039 1046 if(count($this->ReplyTo) > 0) 1040 1047 $result .= $this->AddrAppend("Reply-to", $this->ReplyTo); … … 1077 1084 switch($this->message_type) 1078 1085 { 1079 case "plain": 1086 case "plain":$folder = mb_convert_encoding($folder, "UTF7-IMAP","ISO_8859-1"); 1080 1087 $result .= $this->HeaderLine("Content-Transfer-Encoding", $this->Encoding); 1081 1088 $result .= sprintf("Content-Type: %s; charset=\"%s\"", -
trunk/expressoMail1_2/js/draw_api.js
r1637 r1638 1573 1573 cco_values.id = "cco_values_"+ID; 1574 1574 cco_values.type = "hidden"; 1575 cco_values.value = info_msg. cco;1575 cco_values.value = info_msg.bcc; 1576 1576 1577 1577 ccoaddress_array[ID] = info_msg.bcc.split(","); -
trunk/expressoMail1_2/js/main.js
r1635 r1638 945 945 data.cc = data.cc.replace(/</gi,"<"); 946 946 data.cc = data.cc.replace(/>/gi,">"); 947 } 948 if (document.getElementById("cco_" + border_ID)){ 949 data.cco = document.getElementById("cco_values_" + border_ID).value; 950 data.cco = data.cco.replace(/</gi,"<"); 951 data.cco = data.cco.replace(/>/gi,">"); 947 952 } 948 953 if (document.getElementById("subject_" + border_ID)) … … 1271 1276 Element("tr_cc_"+ new_border_ID).style.display = ''; 1272 1277 } 1278 if (data.cco){ 1279 Element("cco_" + new_border_ID).value = data.cco; 1280 Element("space_link_" + new_border_ID).style.display = 'none'; 1281 Element("a_cco_link_" + new_border_ID).style.display = 'none'; 1282 Element("tr_cco_"+ new_border_ID).style.display = ''; 1283 } 1273 1284 Element("subject_" + new_border_ID).value = data.subject; 1274 1285
Note: See TracChangeset
for help on using the changeset viewer.