Android Question PhoneSMS over WiFi

Rusty

Well-Known Member
Licensed User
Longtime User
Does PhoneSMS work over WiFi or must it be used on a cellular device?
Thanks,
Rusty
 

DonManfred

Expert
Licensed User
Longtime User
I think you must use a cellular device as sending an SMS would be done going over your cellular provider.
 
Last edited:
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
I think you may have something there...although, I can SMS from my PC using wifi...and it works great!
Thanks Don
 
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
Below find the code to do SMS from a VB.NET windows application. I've got this working great and it sends to a list of recipients, you can specify only one if you wish by using:
Mail.To.Add("9993337777@vtext.com") instead of the for each item...
I am doing this from an HP laptop with hardwire (Cat-5 ethernet) or wifi only (either work), no SMS, no cellular capabilities at all.
B4X:
            Dim Mail As New MailMessage
            Dim SMTP As New SmtpClient("smtp.gmail.com")

            Mail.Subject = txtSubject.Text
            Mail.From = New MailAddress(txtSender.Text)
            SMTP.Credentials = New System.Net.NetworkCredential(txtSender.Text, txtPswd.text) '<-- sender id and Password Here

            For Each item As String In lbRecipients.Items
                Mail.To.Add(item)    '<--- a list of recipients like 9993337777@vtext.com  (999 area code, 333-7777 phone number) vtext is verizon
            Next
          
            Mail.Body = txtMessage.Text           'Message Here

            SMTP.EnableSsl = True
            SMTP.Port = "587"
            SMTP.Send(Mail)
Let me know if you need help with this. I would really like to do this from my Wi-Fi only tablets :)
Rusty
 
Upvote 0
G

GCOINC

Guest
Almost Every provider allows you to send 'emails' to the phone recipient... if you can send an email over wifi (yes) then you need only to setup the app... unless I'm missing something here ;)

eg. 10digitphonenumber@txt.b3llmobility.ca

To make it work without inputting in email format, you would need to know the provider of the outbound number so the suffix after (and including) the '@' could be processed prior to sending.

Therefore PHONESMS is not required.
 
Last edited by a moderator:
Upvote 0

Beja

Expert
Licensed User
Longtime User
To me the code you presented will send an email to the specified email address.. the recipient then can access it in his phone, if it has wifi service activated.
It's hard to imagine that one can bypass the phone service provider network. there are communication protocols (under the hood), message formats, phone
validation, billing.. etc. The only thing I can imagine is IP calling which is not a true SMS.. OR you use web service that contract with cellphone providers.
 
Upvote 0
Top