Changeset 12827

Show
Ignore:
Timestamp:
10/16/07 12:20:21 (1 year ago)
Author:
juhana
Message:

Bug fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/net.nehmer.account/config/config.inc

    r12594 r12827  
    113113 * Invite email subject 
    114114 */ 
     115'invitation_mail_sender' => 'noreply', 
    115116'invitation_mail_subject' => 'website invitation from %s', 
    116117 
  • trunk/midcom/net.nehmer.account/handler/invitation.php

    r12594 r12827  
    9797        $this->_mail = new org_openpsa_mail(); 
    9898        $this->_mail->to = $email; 
    99         $this->_mail->from = $_MIDCOM->auth->user->_storage->email
     99        $this->_mail->from = $this->_config->get('invitation_mail_sender')
    100100        $this->_mail->subject = sprintf($this->_l10n->get($this->_config->get('invitation_mail_subject')), $_MIDCOM->auth->user->name); 
    101101        // This may be a hack, but it allows us tons more control in rendering the email