Skip to Content
मेन्यू
This question has been flagged
4946 Views

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
Discard
Related Posts Replies Views Activity
3
जुल॰ 25
2885
1
जुल॰ 25
737
5
मई 25
18149
0
अप्रैल 25
1056
1
अप्रैल 25
1545