Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Headers werent being sent to mail()

  • Loading branch information...
commit 0668994257bfbc3737242ca7bf5df377af1ea826 1 parent 665b247
Matthew Xi authored May 13, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  classes/confirmation.php
2  classes/confirmation.php
@@ -26,7 +26,7 @@ public function send(){
26 26
     $sender =  i18n::get('confirmation.'.$this->type.'.sender');
27 27
     $headers   = array();
28 28
     $headers[] = "From: $sender";
29  
-    mail($this->email, $this->createMessageSubject(), $this->createMessageBody());
  29
+    mail($this->email, $this->createMessageSubject(), $this->createMessageBody(), $headers);
30 30
   }
31 31
 
32 32
   public function createMessageBody(){

0 notes on commit 0668994

Please sign in to comment.
Something went wrong with that request. Please try again.