Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
5018 Visninger

Is it possible to send an email to a partner with the XmlRpc API? I tried using the following PHP code, but I can't figure out how to compose the arguments.

$id = $client->call('res.partner', 'message_post', array(
        $parterId,
        'body',
        'subject'
    ));

This call succesfully posts a message to the user's document but sends no email.

Am I using the right model? What arguments should I pass?

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
3
jul. 25
2993
1
jul. 25
916
5
maj 25
18330
0
apr. 25
1168
1
apr. 25
1614