Changeset 313 for trunk/trax/vendor/trax/action_mailer.php
- Timestamp:
- 07/07/09 21:57:06 (3 years ago)
- Files:
-
- 1 modified
-
trunk/trax/vendor/trax/action_mailer.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/trax/vendor/trax/action_mailer.php
r289 r313 221 221 $this->headers = $this->headers ? $this->headers : array(); 222 222 $this->body = $this->body ? $this->body : array(); 223 $this->default_from = "nobody@". $_SERVER['HTTP_HOST'];223 $this->default_from = "nobody@".($_SERVER['HTTP_HOST'] ? $_SERVER['HTTP_HOST'] : 'domain.com'); 224 224 $this->head_charset = $this->head_charset ? $this->head_charset : $this->default_charset; 225 225 $this->html_charset = $this->html_charset ? $this->html_charset : $this->default_charset;
