We need to sent Conditional SMS e.g.if we created AP Vouchers in RTGS payment mode then we like to send messages content "Your payment has been made through RTGS please confirm." else we send messages content "Your payment is ready for the amount RS. 10000.00,Please collect your cheque" Here the message body will be dependent on Payment Mode.