diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index f72ae9202..b8ce1179b 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -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 diff --git a/lib/WebGUI/Account/Inbox.pm b/lib/WebGUI/Account/Inbox.pm index ee05e04fd..560d05608 100644 --- a/lib/WebGUI/Account/Inbox.pm +++ b/lib/WebGUI/Account/Inbox.pm @@ -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, } );