We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24421
    • 44 Posts
    Is there any API function call to create a message on the manager ’Personal Message’ to a specific user? Something like ’int setUserMessage($ fields)’.

    I searched the forums, the wiki and the API docs but have not found anything.

    I ask to save work, I suppose that using the code in file ’/manager/processors/send_message.processor.php’ I can succeed in creating a message every time someone sends me a message through eForm calling a snippet declared in the eForm event ’eFormOnBeforeMailSent’ and using the fields of the array ’fields’ to create the message in’ Personal Message’ manager.

    Thanks.