FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Send Email
Send Email
Débuté par adrianoboller, 24 nov. 2014 12:13 - Aucune réponse
Connectez-vous…
adrianoboller
#1
Membre enregistré
3 657 messages
Popularité : +175 (223 votes)
Posté le 24 novembre 2014 - 12:13
Procedure
EnviarEmail
(
LOCAL
Usuario
,
LOCAL
Senha
,
LOCAL
Imei
)
Mensagem is
string
=
"Login: "
+
Usuario
+
"; Senha: "
+
Senha
+
"; Imei: "
+
Imei
HourGlass
(
True
)
//Ampulheta de espera
WsEmail is
string
=
"http://www.touroperator.com.br/webservice/ws.asmx/EnviaEmail?idWS=string01&CodSite=string02&de=string03¶=string04&assunto=string05&texto=string06&cc=string07&bcc=string08"
WsEmail
=
Replace
(
WsEmail
,
"string01"
,
"TESTE_WS_VITALCARD"
)
WsEmail
=
Replace
(
WsEmail
,
"string02"
,
1
)
//DE
WsEmail
=
Replace
(
WsEmail
,
"string03"
,
"adrianoboller@gmail.com"
)
//PARA
WsEmail
=
Replace
(
WsEmail
,
"string04"
,
"hsalomon@brandsupply.com.br"
)
//Assunto
WsEmail
=
Replace
(
WsEmail
,
"string05"
,
"Novo cadastro no sistema Motolink"
)
//MENSAGEM
WsEmail
=
Replace
(
WsEmail
,
"string06"
,
Mensagem
)
//CC
WsEmail
=
Replace
(
WsEmail
,
"string07"
,
"ccapelache@brandsupply.com.br"
)
//CCO
WsEmail
=
Replace
(
WsEmail
,
"string08"
,
""
)
WsEmail
=
Replace
(
WsEmail
,
" "
,
"%20"
)
WsEmail
=
Replace
(
WsEmail
,
"&"
,
"&&"
)
//fSaveText("C:\retornoWsEmail.txt",WsEmail)
HTTPRequest
(
WsEmail
)
s
XMLInfo is
string
=
HTTPGetResult
(
)
//fSaveText("C:\retornoEmail.txt",XMLInfo)
//<?xml version="1.0" encoding="utf-8"?>
//<Retorno>
//<msg>Email enviado</msg>
//</Retorno>
NextTitle
(
"Atenção"
)
Info
(
"Email enviado com sucesso!.."
)
HourGlass
(
False
)
//Ampulheta de espera
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte