Any NOKIA does accept AT commands. The modem thing is irrelevant with the SMS capability. If you want to send an SMS then you can use the NOKIA you bought or other makes (relative new).

Please get the AT command set for the appropriate phone.

Ioannis