1. Malek Taha
  2. PowerBuilder
  3. Wednesday, 28 February 2024 19:58 PM UTC

Hi

   I am using the new smtpclient to send email from my PB2022R3 application. It worked fine but sometimes or some users keeps getting error code 13 and 14 and we are not sure what the error message means.

13- -- Failed to send network data.

14 -- Failure in receiving network data.

has anyone got this error if yes what does mean and how to resolve 

 

Please advise

Thanks

Malek

 
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Thursday, 29 February 2024 08:01 AM UTC
  2. PowerBuilder
  3. # 1

Hi Malek,

Based on your error code, it appears that there was a failure during data transmission, which could indicate a problem with your network.
I suggest you:
1. Check if your network connection is stable.
2. Increase the timeout setting to a longer duration, such as 30s or 60s, and see if there is any improvement.
3. Specify a log file. When a failure occurs, check the log file for more detailed error information.

Regards,
Ken

Comment
There are no comments made yet.
Zhang JX Accepted Answer Pending Moderation
  1. Wednesday, 1 May 2024 00:43 AM UTC
  2. PowerBuilder
  3. # 2

I hit the same error message when following the help sample codes by using Gmail account to send smtp message.

increase the timeout setting did not solve my issue, while sucessfully sending out the message by using office365 account, with below setting:

1. enable the account to "Authenticated SMTP":

https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission

2. disable MFA

3. to use legacy smtp server: smtp-legacy.office365.com

 

Regards, JX

 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.