Hello again. After a lot of struggle, seems that change things in O365 to allow external SMTP use makes it insecure. Yo have to allow SMTP for the "transport", for the user, and disable "default security options" for your organization. My solution: use a personal google account to send mails from my apps. It just works.
Thank you all for your help and comments.