Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5237 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
lug 25
3639
1
lug 25
1611
5
mag 25
19304
0
apr 25
1591
1
apr 25
1965