Changeset 1818 for trunk/register.php


Ignore:
Timestamp:
Feb 14, 2007, 11:53:04 PM (18 years ago)
Author:
rub
Message:

My last improvements before 1.7.0RC1.

Can include Cc & Bcc on mail.
Send mail to all administrators on new comment or new users.
Add validate link on new comment mail.
Try to detect if the NBM complementary content is HTML or plain text. With plain text, this content is convert to readable HTML.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/register.php

    r1809 r1818  
    7171        .l10n('admin').': '.$admin_url;
    7272
    73       pwg_mail(get_webmaster_mail_address(),
     73      pwg_mail
     74      (
     75        format_email('administrators', get_webmaster_mail_address()),
    7476        array
    7577        (
    7678          'subject' => 'PWG '.l10n('register_title').' '.$username,
    77           'content' => $content
     79          'content' => $content,
     80          'Bcc' => get_administrators_email()
    7881        )
    7982      );
Note: See TracChangeset for help on using the changeset viewer.