Skip to content
Snippets Groups Projects
Commit a56cb0a0 authored by Daniel Tran's avatar Daniel Tran
Browse files

#1047950: Fixed handling from emails in msg format and changed function call...

#1047950: Fixed handling from emails in msg format and changed function call to get project settings to InstanceConfigValue.
parent 4d631e21
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ LeadQuickAcquisition.callWebService = function(pFile)
default:
var convertedMail = plugin.run(null, "de.adito.aditoweb.plugin.msg2rfc.Msg2RfcPlugin", [pFile.bindata])[0];
convertedMail = util.encodeBase64String(convertedMail);
response = LeadQuickAcquisition.handleMailSig(convertedMail);
response = LeadQuickAcquisition.handleMailSig(Email.fromRFC(convertedMail));
}
return response;
......@@ -221,7 +221,7 @@ LeadQuickAcquisitionMailSigUtils._callWebServiceMailSig = function(pFile)
{
var email = pFile;
var apiKey = project.getInstanceConfigValue("custom.sigparser.apiKey", "");
var url = project.getPreferenceValue("custom.sigparser.apiUrl", "");
var url = project.getInstanceConfigValue("custom.sigparser.apiUrl", "");
var emailText = email.mailText;
var senderName = email.sender.substring(0, email.sender.indexOf("<", 0));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment