Changeset 326
- Timestamp:
- 08/13/09 02:19:37 (2 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/action_mailer.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_mailer.php
r313 r326 114 114 if(!is_null($this->recipients)) { 115 115 $recipients = $this->format_emails($this->recipients, "To"); 116 $this->set_header_line("To", $recipients); 116 $this->set_header_line("To", $recipients); 117 117 } 118 118 … … 257 257 258 258 $this->body = $this->mail_mime->get($this->mime_params); 259 $this->headers = $this->mail_mime->headers($this->headers );259 $this->headers = $this->mail_mime->headers($this->headers, true); 260 260 261 261 if($this->delivery_method == "sendmail") { … … 332 332 */ 333 333 function deliver($mail = null) { 334 if(is_null($mail)) { 334 if(is_null($mail)) { 335 335 $mail =& $this; 336 336 } … … 340 340 return true; 341 341 } 342 if(!count($this->errors)) { 342 if(!count($this->errors)) { 343 #error_log("delivering message to:".$mail->headers['To']); 343 344 $result = $mail->mail->send($mail->headers['To'], $mail->headers, $mail->body); 344 345 if(is_object($result)) {
