in the docs for Send there is an Exchange example that set Port
587. 
Spencer


> On Nov 20, 2018, at 2:58 PM, Chris Belanger via 4D_Tech 
> <[email protected]> wrote:
> 
> Hi,
> 
> I have a client that has switched its email provider to use Office365.
> My app sends emails using SMTP_Send( ) perfectly well with other providers, 
> but not Office365.
> 
> Any help you may offer will be appreciated.
> 
> 
> my significant part of my code currently is:
> 
> Case of    
> 
>        : (Not(eMail_ERRCHECK ("SMTP_New";SMTP_New (SMTP_ID))))
>        : (Not(eMail_ERRCHECK ("SMTP_Host";SMTP_Host (SMTP_ID;$Host;0))))
>        : (Not(eMail_ERRCHECK ("SMTP_From";SMTP_From (SMTP_ID;$From;1))))
>        : (Not(eMail_ERRCHECK ("SMTP_ReplyTo";SMTP_ReplyTo (SMTP_ID;$From;0))))
>        : (Not(eMail_ERRCHECK ("SMTP_To";SMTP_To (SMTP_ID;$To;0))))
>        : (Not(eMail_ERRCHECK ("SMTP_Cc";SMTP_Cc (SMTP_ID;$CC;0))))
>        : (Not(eMail_ERRCHECK ("SMTP_Bcc";SMTP_Bcc (SMTP_ID;$BCC;0))))
>        : (Not(eMail_ERRCHECK ("SMTP_Subject";SMTP_Subject 
> (SMTP_ID;$Subject;0))))
>        : (Not(eMail_ERRCHECK ("SMTP_Body";SMTP_Body (SMTP_ID;$Body;0))))
>        : (Not(eMail_ERRCHECK ("SMTP_Attachment";SMTP_Attachment_It 
> (SMTP_ID;$Attachments;2;0))))
>        : (Not(eMail_ERRCHECK ("SMTP_Auth";SMTP_Auth 
> (SMTP_ID;True;<>Auth_UN;<>Auth_PW))))
>        : (Not(eMail_ERRCHECK ("SMTP_Send";SMTP_Send (SMTP_ID;0))))
>        : (Not(eMail_ERRCHECK ("SMTP_Clear";SMTP_Clear (SMTP_ID))))
> Else 
>     $SentOK:=True
> End case 
> 
> SMTP_Auth( ) works without error, but then
> SMTP_Send( ) returns error:   10032 ‘Unknown or invalid response’
> 
> Thanks for any help,
> 
> Chris Belanger
> Innovative Solutions
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to