Skip to Content
Menu
This question has been flagged
4932 Zobrazenia

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
júl 25
2851
1
júl 25
676
5
máj 25
18123
0
apr 25
1045
1
apr 25
1531