From f761188bb0bf83ec0cbee64fbc8624e4b6baa105 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 24 Feb 2010 09:49:19 -0800 Subject: [PATCH] Queue invitations to be sent instead of sending them directly to avoid dropped emails due to SMTP problems. Fixes bug #11436. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Account/Inbox.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 574e25f05..efc3eb215 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -10,6 +10,7 @@ - fixed #11426: Logout page gets cached - fixed #11428: Dataform Date Field Problem - fixed #11434: Inbox invitation adds text to email instead of html + - fixed #11436: Inbox invitation use mail send instead of mail queue 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 12ad9cce1..ee05e04fd 100644 --- a/lib/WebGUI/Account/Inbox.pm +++ b/lib/WebGUI/Account/Inbox.pm @@ -958,7 +958,7 @@ sub www_inviteUserSave { $invitation->addHtml($emailBody); - $invitation->send; + $invitation->queue; } ## end for my $inviteeEmail (@toList)