Permalink
Browse files

Headers werent being sent to mail()

  • Loading branch information...
Deepwinter
Deepwinter committed May 14, 2012
1 parent 665b247 commit 0668994257bfbc3737242ca7bf5df377af1ea826
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/confirmation.php
View
@@ -26,7 +26,7 @@ public function send(){
$sender = i18n::get('confirmation.'.$this->type.'.sender');
$headers = array();
$headers[] = "From: $sender";
- mail($this->email, $this->createMessageSubject(), $this->createMessageBody());
+ mail($this->email, $this->createMessageSubject(), $this->createMessageBody(), $headers);
}
public function createMessageBody(){

0 comments on commit 0668994

Please sign in to comment.