Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4963 Näkymät

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
heinäk. 25
2948
1
heinäk. 25
833
5
toukok. 25
18263
0
huhtik. 25
1132
1
huhtik. 25
1588