Consultor Eletrônico



Kbase P15536: 4GL/ABL: Errors (4123) and (3269) running sample code to send email via Internet SMTP using 4GL Sock
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/18/2009
Status: Verified

SYMPTOM(s):

4GL/ABL: Errors (4123) and (3269) running sample code to send email via Internet SMTP using 4GL Sockets

None of the widgets used in the WAIT-FOR statement are in a state (such as SENSITIVE) such that the specified event can occur. WAIT-FOR terminated. (4123)

Run-time error in WAIT-FOR at line <line-no> (relative to expanded source) of <procedure>. (3269)

Running the code sample of solution 19647, "Sample Code To Send Email via Internet SMTP with 4GL Sockets"

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

CAUSE:

The server name entered is not a valid server name or the vstate in was not properly initialized or firewall and routing policies interfere on the client-server communication.

FIX:

1. Ensure the server name entered is a valid server name.

2. Ensure the firewall and routing policies do not interfere on the client-server communication

3. In Sendmail procedure, initialize vstate to 1 before the REPEAT loop.