FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
EmailStartSession(gSessionSMTP)
EmailStartSession(gSessionSMTP)
Débuté par Carlos, 23 sep. 2022 23:30 - 1 réponse
Connectez-vous…
Carlos
#1
Membre enregistré
37 messages
Posté le 23 septembre 2022 - 23:30
Hello and thanks in advance for the help
I have been sending e-mails without any issues in my Web-App but all of a sudden I am getting the following error
>>> Reception failed: problem reading on socket.
System error returned by socket:
<Connection reset by the other side (WSAECONNRESET)<<<
Here is my procedure to send the email
Procedure
Procedure_Send_an_Email_Using_SMTP
(
)
//This is an Email
AnEmail_or_Text
..
Sender
=
"pnotification@mydomain.com"
//gsEmail_or_Text_Sender
AnEmail_or_Text
..
Recipient
[
1
] =
"doplex@mydomain.com"
//gsEMail_Address
AnEmail_or_Text
..
Subject
=
gs
Subject
AnEmail_or_Text
..
Message
=
gs
Email_Body_Information
// Send the email
IF
gs
EMail_Address
=
""
THEN
//Do Nothing
ELSE
IF
EmailStartSession
(
gSessionSMTP
) =
True
THEN
IF
EmailSendMessage
(
gSessionSMTP
,
AnEmail_or_Text
) =
False
THEN
Info
(
"Failure sending the email. "
+
ErrorInfo
(
errMessage
)
)
ELSE
//Info("Email Sent")
END
ELSE
---->(I get the error here) Info("Unable to establish the connection with the SMTP Server. No E-Mail
Sent."+ErrorInfo(errMessage))
END
END
I have no idea how to solve this problem.
Perhaps someone has come across this issue and could help me out.
Thank you
Best regards,
Carlos
--
Best regards,
Carlos
Signaler
0
0
Andreas
#2
Posté le 18 octobre 2022 - 12:02
Hello Carlos,
i think your Mailserver is not accepting SMTP-Connections from your Webdev-Server.
In most Mailserver Configurations you can for security reasons limit connections, so not every client/server can flood your Mailserver.
So ask your Mailserver-Admin to check this.
Hope this can help.
Best Regards.
Signaler
0
0
→ Revenir à WEBDEV 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