Skip to content
This repository has been archived by the owner on Jun 23, 2020. It is now read-only.

Commit

Permalink
Merge pull request #3 from alexmurray/patch-1
Browse files Browse the repository at this point in the history
Provide otherRandomHeaders to sendMessage via params
  • Loading branch information
protz committed Jan 24, 2012
2 parents d184ab3 + e311935 commit 02fe7cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions send.js
Expand Up @@ -197,6 +197,7 @@ function initCompose(aMsgComposeService, aParams, aWindow, aDocShell) {
* @param composeParameters.receiptType (optional)
* @param composeParameters.requestDsn (optional)
* @param composeParameters.securityInfo (optional)
* @param composeParameters.otherRandomHeaders (optional)
*
* @param sendingParameters
* @param sendingParameters.deliverType See Ci.nsIMsgCompDeliverMode
Expand Down Expand Up @@ -259,6 +260,8 @@ function sendMessage(params,
: identity.requestDSN;
if ("securityInfo" in params)
fields.securityInfo = params.securityInfo;
if ("otherRandomHeaders" in params)
fields.otherRandomHeaders = params.otherRandomHeaders;

let references = [];
switch (compType) {
Expand Down

0 comments on commit 02fe7cd

Please sign in to comment.