dont know if this is related but i just got my phone yesterday and had a similar problem where the stock app wouldnt send out texts. I eventually got on tech support chat with AT&T and they had to fix it.
Apparently when I ordered through Amazon, they deleted my texting plan and texts were blocked from my phone.
Hope that helps!