diff --git a/classes/postal.php b/classes/postal.php index 8f4d204..8a41ed5 100644 --- a/classes/postal.php +++ b/classes/postal.php @@ -57,7 +57,7 @@ public static function send($subject, $body, $to, $to_name = '', $from = null, $ if (\Fuel::$env != \Fuel::DEVELOPMENT) { $message->to($ar_to_name.' <'.$ar_to_email.'>'); } else { - $env = getenv('email'); + $env = getenv('EMAIL'); if (!$env) { $env = 'root@localhost'; }