V
V
Vyacheslav Golitsyn2021-03-10 14:09:28
Drupal
Vyacheslav Golitsyn, 2021-03-10 14:09:28

Drupal 7. How to send privatemsg message from php?

Maybe someone came across the Private messages module of messages on the portal? Drupal 7. How to send Private messages from php?

https://www.drupal.org/project/privatemsg

Perhaps there is a function function($from_uid,$to_uid,$message);
Or analog.
I found several functions, one creates a thread, the other a message, but I can not use them.

Is there a way to simulate a form submission from the user?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question