PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [5.5] EMailSendMessage bug?
[5.5] EMailSendMessage bug?
Iniciado por rs3322, 18,dic. 2003 12:34 - No hay respuesta
Publicado el 18,diciembre 2003 - 12:34
I am trying to deliver a message to a SMTP server: this is the prg:
(addresses are fake in this example)
EmailStartSession(USER,PASSWORD,SERVER))
Email.Sender=""
Email.NbRecipient=1
email.recipient[1] = "myaddress@myaddress.com"
Email.Subject="TOPIC" // Message topic
Email.Message="TEXT" // Message text
Email.Nbattach=0 // Links
EMailSendMessage(User)
emailclosesession(user)
WinDev locks on EMailSendMessage.
This is the mail server log:
17/12/2003 10.35.15 - ( 69) 250 Welcome, 13.45.26.21 [13.45.26.21], pleased to meet you
17/12/2003 10.35.15 - ( 69) RSET
17/12/2003 10.35.15 - ( 69) 250 Reset state
17/12/2003 10.35.17 - ( 69) TEST CONNEXION
17/12/2003 10.35.17 - ( 69) 502 Unknown command
17/12/2003 10.35.17 - ( 69) RSET
17/12/2003 10.35.17 - ( 69) 250 Reset state
17/12/2003 10.35.17 - ( 69) MAIL FROM:
17/12/2003 10.35.17 - ( 69) 250 Sender "user@test.com" OK...
17/12/2003 10.35.18 - ( 69) RCPT TO:myaddress@myaddress.com
17/12/2003 10.35.18 - ( 69) 250 Recipient "myaddress@myaddress.com" OK...
17/12/2003 10.35.18 - ( 69) DATA
17/12/2003 10.35.18 - ( 69) 354 Enter mail, end with "." on a line by itself
>From this moment, communications are locked.
Questions:
What is TEST CONNEXION command???
Does WinDev process correctly 354 directive?
I tried to update component WD553COM but no way to send mail.
Using a tcp sniffer, WinDev adds some strange characters to text message.
Is there any valid activeX component to send/receive mail (Kmail sends only)?