跳至內容
選單
此問題已被標幟
4938 瀏覽次數

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?

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
7月 25
2855
1
7月 25
681
5
5月 25
18125
0
4月 25
1045
1
4月 25
1532