SMS email text message has unwanted HTML code at the end
I am sending an email text message to my phone from a software. The email message is in plain text format. I am sending it to ...@txt.att.net. The problem is there is a ton of HTML code (i.e. !important;margin-top:0 !) at the end of the text messages.
I also tried sending the email to ...@mms.att.net which eliminated the HTML code, but there was no text/body in the message, just the subject.
I sent the exact same email to Verizon and Sprint emails and it worked perfectly, so this is specific to whatever ATT does to process SMS emails.
What needs to be done to eliminate all that unwanted code?