Has anybody successfully used 4D to send secure emails via STARTTLS & a Microsoft Exchange/Office365 mailbox?
I am trying to do this using 4D 15.5 and this code from the docs, but if I pass 1 in the SMTP_Send parameter I get error "10064 - no response has been received within the timeout period", and the email is not sent. $error:=SMTP_Auth ($SMTP_ID;$Username;$Password;2) // 2 for LOGIN mode // SMTP_Auth(smtp_ID;username;password;auth mode) $error:=IT_SetPort (2;587) //standard SMTP mode (non SSL?), port 587 for Exchange $error:=SMTP_Send ($SMTP_ID;0) // 0 or omitted = Do not use SSL but switchover allowed, 1 = Use SSL, 2 = Never use SSL (switchover not allowed) Any tips/recommendations gratefully received if you have successfully navigated this road before. Michael Jarosz -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

