PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
[WINDEV MOBILE 19] Enviar SMS pelo celular
[WINDEV MOBILE 19] Enviar SMS pelo celular
Started by pedrosao, Feb., 21 2015 3:02 AM - No answer
Connect yourself…
pedrosao
#1
Registered member
42 messages
Popularité : +7 (7 votes)
Posted on February, 21 2015 - 3:02 AM
// Finalidade : envia uma mensagem SMS e retorna o resultado TRUE/FALSE
// Sintaxe :
//[ <Résult> = ] EnviarSMS (<pNúmero>, <pMensagem>)
//
// Parametros :
// pNúmero : número do telefone celular
// pMensagem : mensagem com até 160 caractertes
// Valor de retorno :
// boolean : // TRUE=sucesso, FALSE=falha no envio
//
Procedure
EnviarSMS
(
pNúmero
,
pMensagem
)
SMS.Number
=
pNúmero
SMS.Message
=
pMensagem
IF
SMSSend
(
)
THEN
RESULT
True
ELSE
Error
(
ErrorInfo
(
errMessage
)
)
RESULT
False
END
// Fonte Lifetech
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text