Welcome! Log In Create A New Profile

Advanced

Envoi d'email echec d'une boucle

Posted by Djebel 
Envoi d'email echec d'une boucle
June 09, 2022 01:43PM
Bonjour à tous

Je cherche à envoyer un email à un ou plusieurs destinaires. Les destinataires (de 1 à 4) sont sélectionné à partir d'un champs interrupteur.
J'ai donc le code ci-dessous:

Indice est un entier = 1

SI INT_DESTINATAIRES[1] = Vrai ALORS
Ajoute(UnCourriel..Destinataire[Indice], sDestinataire_1) //sDestinataires_x = variable alimentée par les rurbiques liées
Indice ++
FIN

SI INT_DESTINATAIRES[2] = Vrai ALORS
Ajoute(UnCourriel..Destinataire[Indice], sDestinataire_2)
Indice ++
FIN

SI INT_DESTINATAIRES[3] = Vrai ALORS
Ajoute(UnCourriel..Destinataire[Indice], sDestinataire_3)
Indice ++
FIN
SI INT_DESTINATAIRES[4] = Vrai ALORS
Ajoute(UnCourriel..Destinataire[Indice], sDestinataire_4)
Indice ++
FIN

La gestion de l'indice permet d'alimenter le tableau des destinataires cochés en respectant 1,2,3, etc.

J'ai systèmatiquement une erreur:
Vous avez appelé la fonction 'Ajoute'.
Cette fonction n'est pas disponible pour un élément de type 'chaîne UNICODE'.

Avez-vous une idée plus efficace que la mienne ?

Merci de votre aide
Re: Envoi d'email echec d'une boucle
June 09, 2022 02:12PM
Hi Djebel,

I'm sorry, this is an ENGLISH language forum only! There are lots of French forums around OR you translate your post to English. Thank you for your understanding!

Kind regards,
Guenter Predl
office@windev.at
Re: Envoi d'email echec d'une boucle
June 09, 2022 02:16PM
Hi,

I am sorry. Google translates me automatically and I did not pay attention to the language used in this forum

Jacky
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: