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

@ -12,6 +12,7 @@
- fixed #11434: Inbox invitation adds text to email instead of html
- fixed #11436: Inbox invitation use mail send instead of mail queue
- fixed #11385: Wrong user in onCompletePurchase
- fixed #11435: Invitation mail uses wrong mail 'from' header
7.8.12
- fixed #11285: Pasting HTML into Code Editor in IE

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,
}
);