FSN#49827 Voortaan ook in e-mail headers:
X-FCLT-noticode: MLDMAI X-FCLT-notimode: email svn path=/Website/branches/v2017.2/; revision=35992
This commit is contained in:
@@ -275,6 +275,8 @@ function notificationMail(rec, p_notificationXSL, params)
|
||||
, attachSubFolder: attach_kenmerk_folder
|
||||
, attachments: attach_obj
|
||||
, attachics: icsResult
|
||||
, notimode: "email"
|
||||
, srtnotificatie: rec("fac_srtnotificatie_code").value
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -310,6 +312,8 @@ function notificationMail(rec, p_notificationXSL, params)
|
||||
, attachFolder: attach_folder
|
||||
, attachSubFolder: attach_kenmerk_folder
|
||||
, attachments: []
|
||||
, notimode: "email"
|
||||
, srtnotificatie: rec("fac_srtnotificatie_code").value
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -261,6 +261,7 @@ function connectMail( p_connect
|
||||
, "email"
|
||||
, p_bedrijfadres
|
||||
);
|
||||
params.notimode = "email";
|
||||
params.attachFileName = p_filename; //JGL Volgens mij don't care parameter
|
||||
mailResult = sendMail( p_sender
|
||||
, mail_to
|
||||
|
||||
@@ -459,6 +459,11 @@ function sendMail( p_mailfrom
|
||||
|
||||
// Handig voor intern gebruik. Komt in de e-mail headers terecht
|
||||
objMail.Fields("urn:schemas:mailheader:X-FCLT-cust").Value = customerId;
|
||||
if ("srtnotificatie" in params)
|
||||
objMail.Fields("urn:schemas:mailheader:X-FCLT-noticode").Value = params.srtnotificatie;
|
||||
if ("notimode" in params)
|
||||
objMail.Fields("urn:schemas:mailheader:X-FCLT-notimode").Value = params.notimode;
|
||||
|
||||
objMail.Fields.Update();
|
||||
//
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user