SMTP using Outlook.com
Werner Dirix
Werner.Dirix at smartsystems.be
Wed Jun 10 04:55:16 EDT 2015
Hi Mike,
The listening method $cinst.$smtpstatusproc is never called, probably because of the OpenSSL error.
I have also tried another SMTP-server that requires TLS/SSL encryption using port 587 and it produces the same error.
I am testing several SMTP servers at different ISP's to create a set of defaults to use in my application. Exchange is on my 'To Do'-list, so I am sharing your joy.
Werner
-----Oorspronkelijk bericht-----
Van: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] Namens Mike Matthews
Verzonden: woensdag 10 juni 2015 10:27
Aan: OmnisDev List - English
Onderwerp: Re: SMTP using Outlook.com
Hello Werner,
What does the server return into your listening method $cinst.$smtpstatusproc? The verbose reply from the SMTP server is recorded here, so you might get a better idea, but maybe not.
I am currently trying to talk to an Exchange server, deep joy.
Mike
Mike Matthews,
Managing Director, SQLWorks Software Ltd
Tel: +44 (0)1271 375999
Email: mike.matthews at sqlworks.co.uk
Web: www.sqlworks.co.uk
SQLWorks replaces Sage, ACT!, Opera, Access, SAP
On 10 Jun 2015, at 09:21, Werner Dirix <Werner.Dirix at smartsystems.be> wrote:
> Hello,
>
> I am trying to send e-mails using the outlook.com SMTP-server. According to Microsoft this is needed:
>
> server address: smtp-mail.outlook.com
> user name: Your full Outlook.com email address (not an alias)
> password: Your Outlook.com password
> port: 587
> TLS/SSL encryption required: yes
>
> I am using Studio 6.1.2 (32-bit) on Windows.
> OpenSSL 32-bit is installed and seems to working because I can send mails via Google's SMTP-server.
>
> SMTPSend ('smtp-mail.outlook.com:587',ivSender,ivDestination,ivSubject,ivText,'','',ivName,'$cinst.$smtpstatusproc',ivPriority,,ivSMTPUsername,ivSMTPPassword,kTrue,kTrue) Returns ivStatus
>
> I get the following errormessage: "Error: -1021 - The OpenSSL library returned an error; call WebDevGetSecureError for more information"
>
> WebDevGetSecureError tells me this: "6368:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:.\ssl\s23_clnt.c:794:"
>
>
>
> Anyone has this working ?
>
> Thanks,
>
> Werner
>
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list