I'm trying to make this code work, but it doesn't seems to work.
When I send an email to NUMBER@teletip.com (instead of this line in the code: message.To.Add("1234567890@teletip.com");
), it only sho开发者_JAVA技巧ws it in the 'sent items' label. But when I send SMS in the Google chat interface it works great. BTW, it also shows it in the 'sent items' label.
Is there something I'm missing?
I'm not sure what teletip.com is, but I can send text messages to my phone with the address NUMBER@vtext.com
(Verizon); other carriers have other domains, I would start by finding out the domain for your phone and testing it that way. SMS411.net has a list of domains for different carriers in the US and Canada.
For ATT Wireless in US it is: number@txt.att.net
精彩评论