More than likely the new mail server requires SSL over SMTP when sending.

You have to add a couple lines like:
        $err:=IT_SetPort (12;$email_SMTP_Port)   //set the port to what the 
SMTP server requires (usually 465)
        $error:=SMTP_Send ($smtp_id;1)               //pass the 1 to specify 
sending SSL over SMTP

The modification to SMTP_Send to handle SSL didn’t come into 4D 
InternetCommands until v13 I believe.

Randy

----------------------------------------------------------------------
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com • (845) 359-0298 • PrintPoint, Inc • 57 Ludlow Lane • 
Palisades, NY 10964 


 

> On Sep 6, 2016, at 9:36 AM, stardata.info <[email protected]> wrote:
> 
> Hi all,
> 
> In one my application i use this sequence for sent the emails
> $err:=SMTP_New ($SMTP_ID)
>  $err:=SMTP_Host ($SMTP_ID;[AGENTI]Smtp)
>  $err:=SMTP_From ($SMTP_ID;[AGENTI]Mail)
>  $err:=SMTP_Subject ($SMTP_ID;$Subject)
>  $err:=SMTP_To ($SMTP_ID;[FLAG]MailDestOrdini)
>  $err:=SMTP_Body ($SMTP_ID;$Body)
> Today one my customer say to me that he have changed the server mail and the 
> new server mail use differents ports, not standard ports. From today the send 
> of the mail not work and give the error:
> -11001 Requested database information does not exist; as confirmed by an
> authoritative host
> 
> Someone know the solution?
> 
> Thanks
> Ferdinando
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to