The Nintendo 3DS cannot send or receive text messages to cell phones.
For mobile messaging, use a smartphone. The 3DS is purely a gaming device.