Changeset 1655

Show
Ignore:
Timestamp:
08/19/08 22:03:49 (3 months ago)
Author:
sambauers
Message:

Use the from email setting in bb_mail()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/bb-includes/pluggable.php

    r1654 r1655  
    625625        // If we don't have an email from the input headers 
    626626        if ( !isset( $from_email ) ) { 
     627                $from_email = bb_get_option('from_email'); 
     628        } 
     629 
     630        // If there is still no email address 
     631        if ( !$from_email ) { 
    627632                // Get the site domain and get rid of www. 
    628633                $sitename = strtolower( $_SERVER['SERVER_NAME'] );