{{tag>Index Action Action_List Service Process Business_Rule}} ====== SEND ====== This action allows sending a notification to a particular notification receiver. ===== Syntax ===== ''SEND'' Id() ''TO'' AttributeIdentifier () [ ''VIA'' ChannelName ] [ ''USING'' AttributeIdentifier () ] ===== Example ===== SEND ReservationOfferEmail TO Reservation.Member Note that the receiver of the notification must be an intelligent business object with active communication channels. The ''VIA'' keyword can be used to indicate the specific channel through which the notification will be sent, for example SEND ReservationOfferNotification TO Reservation.Member VIA Email If the ''VIA'' keyword is not specified, the default channel of the business object is used. The ''USING'' keyword can be used to send emails using a particular email account, for example: SEND ReservationOfferNotification TO Reservation.Member USING EmailAccount Here the instance of the EmailAccount object is taken from the Context and it should contain email account values to use when sending an email (host server, port, authentication details etc). Therefore, the object representing an account must have certain attributes defined. The definition of such an object can be created in the Configuration Tool using the “Add Outgoing Email Account” command. When processing incoming emails (in the rules attached to the IncomingEmail notification), the reply can be sent to the predefined business object called EmailSender. For example, SEND Reply TO EmailSender