From 2f59ae832737cd2f2260def8809a958da2fa3fd2 Mon Sep 17 00:00:00 2001 From: Jeremy Mitchell Date: Mon, 7 Dec 2015 10:05:24 -0700 Subject: [PATCH] Fixes #839 --- traffic_ops/app/lib/MojoPlugins/Email.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/traffic_ops/app/lib/MojoPlugins/Email.pm b/traffic_ops/app/lib/MojoPlugins/Email.pm index 29058691e..7563c4429 100755 --- a/traffic_ops/app/lib/MojoPlugins/Email.pm +++ b/traffic_ops/app/lib/MojoPlugins/Email.pm @@ -55,7 +55,7 @@ sub register { if ( defined($email_to) ) { if ( defined($portal_email_from) ) { - $self->mail( + $rc = $self->mail( subject => $instance_name . " Password Reset Request", from => $portal_email_from, to => $email_to, @@ -64,7 +64,7 @@ sub register { ); } else { - $self->mail( + $rc = $self->mail( subject => $instance_name . " Password Reset Request", to => $email_to, template => 'user/reset_password',