Bug #211031 --> if we are saving as draft/template/send later then don't insert the undisclosed recipients text. We'll do that

later when we actually go to send the message.

r/sr=bienvenu
a=asa
This commit is contained in:
scott%scott-macgregor.org 2003-08-08 22:56:44 +00:00
Родитель 9e195cde99
Коммит 776a696d49
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -618,7 +618,10 @@ RRT_HEADER:
// If we don't have disclosed recipient (only Bcc), address the message to
// undisclosed-recipients to prevent problem with some servers
if (!hasDisclosedRecipient) {
// If we are saving the message as a draft, don't bother inserting the undisclosed recipients field. We'll take care of that when we
// really send the message.
if (!hasDisclosedRecipient && !isDraft) {
PRBool bAddUndisclosedRecipients = PR_TRUE;
prefs->GetBoolPref("mail.compose.add_undisclosed_recipients", &bAddUndisclosedRecipients);
if (bAddUndisclosedRecipients) {