Change user invitation emails to come from the sending site, instead of the user, since that can cause SPF problems. Fixes bug #11435.

This commit is contained in:
Colin Kuskie 2010-02-24 10:13:30 -08:00
parent 5934ba8fce
commit abf4aec1a2
2 changed files with 3 additions and 1 deletions

View file

@ -946,7 +946,8 @@ sub www_inviteUserSave {
my $invitation = WebGUI::Mail::Send->create(
$session, {
to => $to,
from => $email,
from => $session->setting->get('companyEmail'),
replyTo => $email,
subject => $subject,
}
);