HEX
Server: LiteSpeed
System: Linux node612.namehero.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: dfwparty (1186)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //home/dfwparty/dfwchat.net/wp-content/plugins/buddyboss-platform/cli/components/message-create.md
#	wp bp message create

Add a message.

## OPTIONS

--from=<user>
: Identifier for the user. Accepts either a user_login or a numeric ID.

[--to=<user>]
: Identifier for the recipient. To is not required when thread id is set.
 Accepts either a user_login or a numeric ID.
\---
Default: Empty.
\---

--subject=<subject>
: Subject of the message.

--content=<content>
: Content of the message.

[--thread-id=<thread-id>]
: Thread ID.
\---
Default: false
\---

[--date-sent=<date-sent>]
: MySQL-formatted date.
\---
Default: current date.
\---

[--silent]
: Whether to silent the message creation.

[--porcelain]
: Return the thread id of the message.

## EXAMPLES

    $ wp bp message create --from=user1 --to=user2 --subject="Message Title" --content="We are ready"
    Success: Message successfully created.

    $ wp bp message create --from=545 --to=313 --subject="Another Message Title" --content="Message OK"
    Success: Message successfully created.