# Send an SMS from the terminal window

GalileoTerminal SMS Service allows the agent to send an SMS directly from the terminal window. There are several ways how to do it:

## With message preview <a href="#with-message-preview" id="with-message-preview"></a>

* A unique GalileoTerminal command ensures that the SMS will be compiled and displayed in the terminal window for a visual check.
* Examples of commands for SMS compilation:
  * SMSET/P1 – an SMS ET is compiled for the passenger 1 from a recent PNR
  * SMSIT – an SMS Itinerary is compiled for the recent PNR
  * SMS/textofmessage - compiles a free text message for the number from the PNR M\* element
  * SMS420603332233/textofmessage - compiles a free text message for the typed phone number
  * SMSET/P1/420603332233 - compiles an SMS ET for the passenger 1 to be sent to the typed number.

## Without message preview <a href="#without-message-preview" id="without-message-preview"></a>

* If the SENDSMS command is used, the SMS message can be generated immediately without a previous display. All mandatory fields have to be filled in. It means that the passenger phone number must be included in the PNR from where GalileoTerminal can retrieve it, or it has to be specified by the agent in the entered command. The value for the Sender field is taken from the SMS options in the My profile item in the main menu.
* Examples of direct commands for SMS generation:
  * SENDSMSET/P1 – an SMS ET for the passenger 1 is sent for the recent PNR
  * SENDSMSET/P1/420603434861 - sends an SMS ET for the passenger 1 to the entered phone number
  * SENDSMSIT – an SMS Itinerary is sent for the recent PNR
  * SENDSMS/textOfMessage - sends a free text message for the number from the PNR M\* element
  * SENDSMS420603112233/textOfMessage - sends a free text message for the typed phone number

The client phone number is taken automatically from the reservation when it is entered into the Phone field in this format: “P.PRGM\*42011223344”. If it’s not in the reservation, the agent has to type the number manually.
