Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alert message to mobile

Status
Not open for further replies.

jonnyk

Programmer
Jan 11, 2001
19
0
0
GB
Is it possible to set up an alert to contact a mobile phone using a text message
 
YOu can't even send a phone number page without third party software, so I presume you would need to search the net for some third Party software to do this.
 
aren't text messages just sent via email?

if I send an email to [myphonenumber]@msg.telus.net, i get it as a text message on my phone.

maybe this is just a service provided by my cell phone company (?)

I've set up an asp page that I can enter in a date,time,and message, it creates a sql scheduled task that emails my phone at that time with my message...kind of a reminder/wakeup service...so its do-able with my setup

cheyney
 
Yep, i do it with SPRINT PCS all the time.
SMS messages are sent to the users phone number in the body of the message.

check this out:

Function Main()
Dim objFSO, strFullName, x, txtSHOP
Set objFSO = CreateObject("Scripting.FileSystemObject")


For x = 1 To 16
if x<>4 then

IF x<10 then
txtSHOP=&quot;00&quot;+cstr(x)
else
txtSHOP=&quot;0&quot;+cstr(x)
end if

If objFSO.FileExists(&quot;D:\SQLTXT\SHOP&quot;+txtSHOP+&quot;\revwk.txt&quot;) Then
else
Set objSendMail = CreateObject(&quot;CDONTS.Newmail&quot;)
with objSendMail
.From = &quot;SQL2000@company.com&quot;
.To = &quot;user@sms_provider.com&quot;
.Subject = &quot;No Text for shop &quot;+ txtSHOP
.Body = &quot;No Text Files for Shop &quot; + txtSHOP
.Send
end with
set objSendMail = Nothing
end if
end if
next
Main = DTSTaskExecResult_Success

End Function

cool?
 
P.S.
I use CDONTS exclusively after reloading SQL mail, outlook, Windows and SQL too many times to care about that piece of $%#@$% anymore.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top