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:
Jos Groot Lipman
2017-11-14 15:12:34 +00:00
parent 310ae8669f
commit 240b11fb75
3 changed files with 10 additions and 0 deletions

View File

@@ -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
}
);
}

View File

@@ -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

View File

@@ -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();
//
//