Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r16847: LJSV-968 (Change our sent emails from we...

Committer: ailyin
LJSV-968 (Change our sent emails from webmaster@ to do-not-reply@)
U   trunk/cgi-bin/LJ/Console/Command/ResetEmail.pm
U   trunk/cgi-bin/LJ/Console/Command/ResetPassword.pm
U   trunk/cgi-bin/LJ/Widget/CreateAccount.pm
U   trunk/cgi-bin/ljlib.pl
U   trunk/cgi-bin/ljprotocol.pl
U   trunk/htdocs/changeemail.bml
U   trunk/htdocs/changepassword.bml
U   trunk/htdocs/lostinfo.bml
U   trunk/htdocs/manage/profile/index.bml
U   trunk/htdocs/register.bml
Modified: trunk/cgi-bin/LJ/Console/Command/ResetEmail.pm
===================================================================
--- trunk/cgi-bin/LJ/Console/Command/ResetEmail.pm	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/cgi-bin/LJ/Console/Command/ResetEmail.pm	2010-06-21 08:34:13 UTC (rev 16847)
@@ -46,7 +46,7 @@
 
     LJ::send_mail({
         'to' => $newemail,
-        'from' => $LJ::ADMIN_EMAIL,
+        'from' => $LJ::DONOTREPLY_EMAIL,
         'subject' => "Email Address Reset",
         'body' => $body,
     }) or $self->info("Confirmation email could not be sent.");

Modified: trunk/cgi-bin/LJ/Console/Command/ResetPassword.pm
===================================================================
--- trunk/cgi-bin/LJ/Console/Command/ResetPassword.pm	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/cgi-bin/LJ/Console/Command/ResetPassword.pm	2010-06-21 08:34:13 UTC (rev 16847)
@@ -51,7 +51,7 @@
 
     LJ::send_mail({
         'to' => $u->email_raw,
-        'from' => $LJ::ADMIN_EMAIL,
+        'from' => $LJ::DONOTREPLY_EMAIL,
         'subject' => "Password Reset",
         'body' => $body,
     }) or $self->info("New password notification email could not be sent.");

Modified: trunk/cgi-bin/LJ/Widget/CreateAccount.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/CreateAccount.pm	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/cgi-bin/LJ/Widget/CreateAccount.pm	2010-06-21 08:34:13 UTC (rev 16847)
@@ -574,7 +574,7 @@
 
             LJ::send_mail({
                 to => $email,
-                from => $LJ::ADMIN_EMAIL,
+                from => $LJ::DONOTREPLY_EMAIL,
                 fromname => $LJ::SITENAME,
                 charset => 'utf-8',
                 subject => LJ::Lang::ml('email.newacct.subject', { sitename => $LJ::SITENAME }),

Modified: trunk/cgi-bin/ljlib.pl
===================================================================
--- trunk/cgi-bin/ljlib.pl	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/cgi-bin/ljlib.pl	2010-06-21 08:34:13 UTC (rev 16847)
@@ -1359,7 +1359,7 @@
 
     LJ::send_mail({
         'to' => $u->email_raw,
-        'from' => $LJ::ADMIN_EMAIL,
+        'from' => $LJ::DONOTREPLY_EMAIL,
         'fromname' => $LJ::SITENAME,
         'charset' => 'utf-8',
         'subject' => "Community Membership: $ju->{'name'}",

Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/cgi-bin/ljprotocol.pl	2010-06-21 08:34:13 UTC (rev 16847)
@@ -1587,7 +1587,7 @@
 
                     LJ::send_mail({
                         'to'        => $to->{to},
-                        'from'      => $LJ::ADMIN_EMAIL,
+                        'from'      => $LJ::DONOTREPLY_EMAIL,
                         'charset'   => $to->{charset},
                         'subject'   => $subject,
                         'body'      => $body,

Modified: trunk/htdocs/changeemail.bml
===================================================================
--- trunk/htdocs/changeemail.bml	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/htdocs/changeemail.bml	2010-06-21 08:34:13 UTC (rev 16847)
@@ -146,7 +146,7 @@
         my @date = localtime(time);
         LJ::send_mail({
             'to'      => $old_email,
-            'from'    => $LJ::ADMIN_EMAIL,
+            'from'    => $LJ::DONOTREPLY_EMAIL,
             'charset' => 'utf-8',
             'subject' => $ML{'/editinfo.bml.newemail_old.subject'},
             'body'    => BML::ml('/editinfo.bml.newemail_old.body2',
@@ -166,7 +166,7 @@
         my $aa = LJ::register_authaction($u->{'userid'}, "validateemail", $POST{'email'});
         LJ::send_mail({
             'to' => $POST{'email'},
-            'from' => $LJ::ADMIN_EMAIL,
+            'from' => $LJ::DONOTREPLY_EMAIL,
             'charset' => 'utf-8',
             'subject' => $ML{'/editinfo.bml.newemail.subject'},
             'body' => BML::ml('/editinfo.bml.newemail.body2',

Modified: trunk/htdocs/changepassword.bml
===================================================================
--- trunk/htdocs/changepassword.bml	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/htdocs/changepassword.bml	2010-06-21 08:34:13 UTC (rev 16847)
@@ -191,7 +191,7 @@
 
      LJ::send_mail({
          'to' => $u->email_raw,
-         'from' => $LJ::ADMIN_EMAIL,
+         'from' => $LJ::DONOTREPLY_EMAIL,
          'fromname' => $LJ::SITENAME,
          'charset' => 'utf-8',
          'subject' => $ML{'.email.subject'},

Modified: trunk/htdocs/lostinfo.bml
===================================================================
--- trunk/htdocs/lostinfo.bml	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/htdocs/lostinfo.bml	2010-06-21 08:34:13 UTC (rev 16847)
@@ -200,7 +200,7 @@
 
         LJ::send_mail({
             'to' => $email,
-            'from' => $LJ::ADMIN_EMAIL,
+            'from' => $LJ::DONOTREPLY_EMAIL,
             'fromname' => $LJ::SITENAME,
             'charset' => $encoding,
             'subject' => $subject,
@@ -272,7 +272,7 @@
 
         LJ::send_mail({
             'to' => $email,
-            'from' => $LJ::ADMIN_EMAIL,
+            'from' => $LJ::DONOTREPLY_EMAIL,
             'fromname' => $LJ::SITENAME,
             'charset' => 'utf-8',
             'subject' => "Lost Username",

Modified: trunk/htdocs/manage/profile/index.bml
===================================================================
--- trunk/htdocs/manage/profile/index.bml	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/htdocs/manage/profile/index.bml	2010-06-21 08:34:13 UTC (rev 16847)
@@ -772,7 +772,7 @@
 
             LJ::send_mail({
                 'to' => $POST{'email'},
-                'from' => $LJ::ADMIN_EMAIL,
+                'from' => $LJ::DONOTREPLY_EMAIL,
                 'charset' => 'utf-8',
                 'subject' => $ML{'/editinfo.bml.newemail.subject'},
                 'body' => BML::ml('/editinfo.bml.newemail.body2',

Modified: trunk/htdocs/register.bml
===================================================================
--- trunk/htdocs/register.bml	2010-06-21 08:00:44 UTC (rev 16846)
+++ trunk/htdocs/register.bml	2010-06-21 08:34:13 UTC (rev 16847)
@@ -56,7 +56,7 @@
      LJ::send_mail({
          'to' => $u->email_raw,
          'bcc' => $foru ? $remote->email_raw : undef,
-         'from' => $LJ::ADMIN_EMAIL,
+         'from' => $LJ::DONOTREPLY_EMAIL,
          'charset' => 'utf-8',
          'subject' => $ML{'.email.subject'},
          'body' => BML::ml('.email.body',

Tags: andy, bml, livejournal, pl, pm
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments