PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → SMTP Problem
SMTP Problem
Iniciado por guest, 04,nov. 2017 13:53 - 2 respuestas
Publicado el 04,noviembre 2017 - 13:53
Hi,

I have a WD22 application which includes a procedure to send emails using smtp.

Everything works fine in test mode. Everything also works fine if I launch the program using a .BAT file (passing command line parameters into it).

However, if I EXERUN the program from another WD app then I get a 503 error message when the email is "sent". I've set the sending routine to show me every email setting prior to the send and everything is exactly the same between test mode/the .bat file and the Exerun, so why on earth is the Exerun method failing?

Rgds
Reg
Publicado el 04,noviembre 2017 - 15:19
Hi Reg,

in which user context is the calling Programm running?
Publicado el 04,noviembre 2017 - 15:20
Hi,

In the last 5 minutes I've sorted this out thanks. Turned out to be a type on my part in the calling program.

Thanks for getting back to me anyway :-)