For sending message Erlang uses the exclamation mark (!) as the operator for sending a message. The syntax used for sending a message is Pid ! Message. For receiving message Erlang uses Pattern Matching, to deliver a message from the message queue receive statement is used.