FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 28
→
Problems reading emails
Problems reading emails
Débuté par Simon PHILLIPS, 02 oct. 2022 14:14 - 3 réponses
Connectez-vous…
Simon PHILLIPS
#1
Membre enregistré
32 messages
Popularité : +1 (1 vote)
Posté le 02 octobre 2022 - 14:14
Hi All
I have a strange problem when reading emails. I have set up a simple reader for getting all emails from an Outlook server (in this case my own email). If I read the emails as header only, (EmailReadLastHeader, EmailReadPreviousHeader) then every email flows through without any problem.
However, if I use EmailReadLast, EmailReadPrevious so that it retrieves the messages as well, then on certain emails it will hang. It does not return an error, just hangs the program. I have set up the fatal error handling, but still hangs, so I hve no idea what could be causing it.
If I program it to skip that email, it does the same on another later on. The emails are always the same ones but all other work as expected.
I have tried to read the header, then retrieve the message of the text separately, which again works fine for most, but on the same two it again hangs.
I have looked at the whole of the email structure in the debugger, and compared the settings in the email variable retrieved in the header with one that was successfull, but nothings jumps out.
I have tried it using the WD_Mail example and it does the same thing on the same emails.
I have also used ThunderBird and MS Mail on the account and it reads all the emails without any issues, header and message.
The problem is that I cannot give this to customers if it is going to hang every time they read an email that is going to do this.
Has anyone come accross this before? I am using WinDev 26
--
Thanks
Simon Phillips
OtterReg Software
www.otterreg.com
Message modifié, 02 octobre 2022 - 14:35
Signaler
0
0
Joris
#2
Posté le 06 octobre 2022 - 13:31
Hi Simon,
Could you publish some of your code? I have just developed the same thing (opening an IMAP connection and reading the latest emails) and so far I have never had this problem. I am working in WinDev27.
Kind regards
Joris
Signaler
0
0
Simon PHILLIPS
#3
Membre enregistré
32 messages
Popularité : +1 (1 vote)
Posté le 09 octobre 2022 - 14:10
Hi Joris
It has been fixed. It was a problem in Windev 26 for which the helpdesk gave me a link to download the fix which now works.
--
Thanks
Simon Phillips
OtterReg Software
www.otterreg.com
Signaler
0
0
Tim Korssen
#4
Posté le 06 décembre 2022 - 05:38
Hi Simon,
I am having this same issue for a few months now and I cannot figure out what happens.
Can you share the download link with me?
Regards, Tim
Signaler
0
0
→ Revenir à WINDEV 28
WINDEV 28
WEBDEV 28
WINDEV Mobile 28
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