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.