PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
UnCourriel..Destinataire[1]
UnCourriel..Destinataire[1]
Started by Jean-marc SOUCHEZ, May, 23 2018 9:11 PM - 3 replies
Connect yourself…
Jean-marc SOUCHEZ
#1
Posted on May, 23 2018 - 9:11 PM
Bonjour à tous,
Depuis le passage de Windev mobile 22 à Windev mobile 23, nous obtenons une erreur pour générer un e-mail.
Voici le code :
UnCourriel est un Email
UnCourriel..AdresseExpéditeur = "monemail@mondomaine.fr"
UnCourriel..Expediteur = "monemail@mondomaine.fr"
UnCourriel..Destinataire[1] = "emaildestinataire@gmail.com"
UnCourriel..Sujet = "Sujet"
etc...
Le problème est provoqué par l'affectation du destinataire et le message d'erreur est :
Indice de sous-élément incorrect : vous accédez au sous-élément 1 alors qu'il y a 0 sous-éléments.
Merci pour vos commentaires.
Jean-Marc SOUCHEZ
Report
0
0
Jordan
#2
Registered member
950 messages
Popularité : +53 (63 votes)
Posted on May, 24 2018 - 1:08 AM
Bonjour,
Essaye de rajouter Uncourriel..nbdestinataire = 1 avant l'adresse du destinataire
Jordan
Report
0
0
Jean-marc SOUCHEZ
#3
Posted on May, 24 2018 - 7:31 AM
Bonjour,
et merci pour ta réponse.
Cependant, la variable UnCourriel..nbdestinataire n'est pas reconnue par Windev.
Une autre idée ?
Jean-Marc SOUCHEZ
Report
0
0
Jean-marc SOUCHEZ
#4
Posted on May, 25 2018 - 8:18 AM
J'ai trouvé la solution en remplaçant l'affectation du destinataire par :
Ajoute(UnCourriel..Destinataire, "mondestinataire@gmail.com")
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
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