PEPMessage.cs
changeset 518 09e4791fe4c8
parent 501 158c070826dd
child 543 ba430eec9ea3
     1.1 --- a/PEPMessage.cs	Tue Feb 23 22:23:20 2016 +0100
     1.2 +++ b/PEPMessage.cs	Tue Feb 23 23:12:07 2016 +0100
     1.3 @@ -546,7 +546,8 @@
     1.4               * So far this doesn't appear to be an issue as it occurs when applying unencrypted data to a mirror.
     1.5               * However, the mirror SendUsingAccount is already correct at this point and doesn't need to be set.
     1.6               */
     1.7 -            if ((this._From.Address != null) &&
     1.8 +            if ((this._From != null) &&
     1.9 +                (this._From.Address != null) &&
    1.10                  (omi.SendUsingAccount == null))
    1.11              {
    1.12                  for (int i = 1; i <= Globals.ThisAddIn.Application.Session.Accounts.Count; i++)