CodeIgniter Forums
SMS subject line encoding issue - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: SMS subject line encoding issue (/showthread.php?tid=30020)



SMS subject line encoding issue - El Forum - 04-29-2010

[eluser]mattlezeay[/eluser]
Hello all, I have starting using CI recently and I'm in love. I have been trying to get something working and I'm not sure the correct way to fix this.
So I have place in my site where the admin user can send an sms (text message) to any user that has agreed to accept them. I am simply using the carrier e-mail addresses like @txt.att.net and such. I have used this method before on other non-CI sites and it worked like a champ. The problem is that when I receive the texts, they have "?utf-8?Q??=" and then my subject as the subject. After looking at the class, it looks like its adding some encoding for the subject which I like that fact but is there a way to get that to stop showing up for my sms setup? Thanks for any help...


SMS subject line encoding issue - El Forum - 05-01-2010

[eluser]mattlezeay[/eluser]
So I have been thinking I would actually like to just leave out the subject line entirely. How would one send an email without the subject but suppress the error that results?

EDIT: So I should try before I ask... @ before the $this->email->send(); did it. Now just to remember to remove it if needed.