equal
deleted
inserted
replaced
286 |
286 |
287 // <qmail> |
287 // <qmail> |
288 if (aRecipient) |
288 if (aRecipient) |
289 { |
289 { |
290 iNmPrivateMessageEnvelope->mToRecipients.append(aRecipient->GetNmAddress()); |
290 iNmPrivateMessageEnvelope->mToRecipients.append(aRecipient->GetNmAddress()); |
|
291 delete aRecipient;//ownership transferred to us so we can delete. |
|
292 aRecipient = NULL; |
291 } |
293 } |
292 // </qmail> |
294 // </qmail> |
293 } |
295 } |
294 |
296 |
295 // ----------------------------------------------------------------------------- |
297 // ----------------------------------------------------------------------------- |
302 // <qmail> |
304 // <qmail> |
303 if (aRecipient) |
305 if (aRecipient) |
304 { |
306 { |
305 iNmPrivateMessageEnvelope->mCcRecipients.append( |
307 iNmPrivateMessageEnvelope->mCcRecipients.append( |
306 aRecipient->GetNmAddress()); |
308 aRecipient->GetNmAddress()); |
|
309 delete aRecipient;//ownership transferred to us so we can delete. |
|
310 aRecipient = NULL; |
307 } |
311 } |
308 // </qmail> |
312 // </qmail> |
309 } |
313 } |
310 |
314 |
311 // ----------------------------------------------------------------------------- |
315 // ----------------------------------------------------------------------------- |
318 // <qmail> |
322 // <qmail> |
319 if (aRecipient) |
323 if (aRecipient) |
320 { |
324 { |
321 iNmPrivateMessageEnvelope->mBccRecipients.append( |
325 iNmPrivateMessageEnvelope->mBccRecipients.append( |
322 aRecipient->GetNmAddress()); |
326 aRecipient->GetNmAddress()); |
|
327 delete aRecipient;//ownership transferred to us so we can delete. |
|
328 aRecipient = NULL; |
323 } |
329 } |
324 // </qmail> |
330 // </qmail> |
325 } |
331 } |
326 |
332 |
327 // ----------------------------------------------------------------------------- |
333 // ----------------------------------------------------------------------------- |