Skip to content
Snippets Groups Projects
Commit 3750b632 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Merge branch '#1047950-LittleFixesAtLeadQuickAcquisition' into 'master'

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

See merge request xrm/basic!173
parents 4d631e21 a56cb0a0
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