开发者

Sending text messages via GMail in c#

开发者 https://www.devze.com 2023-03-29 07:21 出处:网络
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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消