AW: SMTP using Outlook.com
Rudolf Bargholz
rudolf at bargholz.ch
Wed Jun 10 04:36:46 EDT 2015
Hi Werner,
I use
https://github.com/muquit/mailsend
to send mails from Windows. You can test it outside of Omnis in a DOS window and then, when you have all the settings right, call a batch script that then sends the mail. Even if you still want to use Omnis, it will help you debug the source of the error as the logging, when using the parameter "-v", tells you quite a lot about possible causes of the problem.
Regards
Rudolf
-----Ursprüngliche Nachricht-----
Von: omnisdev-en [mailto:omnisdev-en-bounces at lists.omnis-dev.com] Im Auftrag von Werner Dirix
Gesendet: Mittwoch, 10. Juni 2015 10:22
An: OmnisDev List - English
Betreff: SMTP using Outlook.com
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
More information about the omnisdev-en
mailing list