Ignore:
Timestamp:
Mar 18, 2008, 10:58:48 PM (17 years ago)
Author:
rub
Message:

Resolved issue 0000815: Email format standardization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_7/admin/include/functions_notification_by_mail.inc.php

    r2060 r2283  
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    5 // | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
     5// | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    77// | file          : $Id$
     
    201201    // Init mail configuration
    202202    $env_nbm['email_format'] = get_str_email_format($conf['nbm_send_html_mail']);
    203     $env_nbm['send_as_name'] = ((isset($conf['nbm_send_mail_as']) and !empty($conf['nbm_send_mail_as'])) ? $conf['nbm_send_mail_as'] : $conf['gallery_title']);
     203    $env_nbm['send_as_name'] = ((isset($conf['nbm_send_mail_as']) and !empty($conf['nbm_send_mail_as'])) ? $conf['nbm_send_mail_as'] : get_mail_sender_name());
    204204    $env_nbm['send_as_mail_address'] = get_webmaster_mail_address();
    205205    $env_nbm['send_as_mail_formated'] = format_email($env_nbm['send_as_name'], $env_nbm['send_as_mail_address']);
Note: See TracChangeset for help on using the changeset viewer.