Answer the question
In order to leave comments, you need to log in
Why doesn't glpi parse email normally through the webapps plugin?
There was a problem when working with glpi through the webapps plugin using the Java xmlrpc-client, when trying to create a ticket (createTicket), when adding the user's email, only the first letter is added.
method:
public static HashMap callXMLRPC(XmlRpcClient client, String method, Object[] params)
throws XmlRpcException {
HashMap result = (HashMap) client.execute(method, params);
return result;
}
map = new HashMap();
config.setServerURL(new URL(BuildVars.LinkGLpi+"?session="+result.get("session").toString()));
client.setConfig(config);
map put("content",content);
map.put("user_email",email);
map put("user",0);
map.put("
result =callXMLRPC(client, "glpi.createTicket", new Object[]{map});
if the value is email [email protected] to the database, the field will contain only the letter 'a'.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question