xHarbour with SSL/TLS - Master Enrico.
xHarbour with SSL/TLS - Master Enrico.
xHarbour with SSL/TLS - Master Enrico.
Master Enrico, anything new?
xHarbour con SSL / TLS - Master Enrico.
Maestro Enrico, ¿algo nuevo?
I need to use Office365, with SSL / TLS
Necesito usar Office365, con SSL/TLS
Many thanks. Muchas gracias.
Regards, saludos.
Master Enrico, anything new?
xHarbour con SSL / TLS - Master Enrico.
Maestro Enrico, ¿algo nuevo?
I need to use Office365, with SSL / TLS
Necesito usar Office365, con SSL/TLS
Many thanks. Muchas gracias.
Regards, saludos.
João Santos - São Paulo - Brasil
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: xHarbour with SSL/TLS - Master Enrico.
Sorry, I didn't understand your question. Could you be more explicit, please?
EMG
EMG
Re: xHarbour with SSL/TLS - Master Enrico.
Master Enrico, I need to send emails via Microsoft's Office365 directly from my program.
Which library to use TLS and Cryptography: STARTTLS?
Do you have a new version of xHarbour that is already possible to send emails via TLS / STARTTLS?
Thank you.
https://support.microsoft.com/pt-br/off ... 6c4ac95353
Which library to use TLS and Cryptography: STARTTLS?
Do you have a new version of xHarbour that is already possible to send emails via TLS / STARTTLS?
Thank you.
https://support.microsoft.com/pt-br/off ... 6c4ac95353
João Santos - São Paulo - Brasil
Re: xHarbour with SSL/TLS - Master Enrico.
It would be the configuration:
Server:
smtp.office365.com
Port: 587
Cryptography: STARTTLS
Regards, saludos.
Server:
smtp.office365.com
Port: 587
Cryptography: STARTTLS
Regards, saludos.
João Santos - São Paulo - Brasil
Re: xHarbour with SSL/TLS - Master Enrico.
Master Enrico, are these the only LIBs for Email control?
Regards, saludos.
Code: Select all
29/10/2020 16:15 395.264 hbssl.lib
29/10/2020 16:15 115.200 tipssl.lib
João Santos - São Paulo - Brasil
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: xHarbour with SSL/TLS - Master Enrico.
Sorry, I can't help you since I cannot make tests. Could you provide me the access data to the server?
EMG
EMG
Re: xHarbour with SSL/TLS - Master Enrico.
Master Enrico, just create an email account at office365.com.
Do you have contact with master Patrick Mast of the xHarbour project? Perhaps, he has some solution to this problem.
Regards, saludos.
Do you have contact with master Patrick Mast of the xHarbour project? Perhaps, he has some solution to this problem.
Regards, saludos.
João Santos - São Paulo - Brasil
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: xHarbour with SSL/TLS - Master Enrico.
Please, create the account yourself and send me the required data.Master Enrico, just create an email account at office365.com.
What is the problem, exactly? Anyway, I doubt that Patrick is still involved with xHarbour project. His last contribution dates back to 2018.Do you have contact with master Patrick Mast of the xHarbour project? Perhaps, he has some solution to this problem.
EMG
Re: xHarbour with SSL/TLS - Master Enrico.
Ready Enrico. I created a Microsoft account. How do I send the data and password to the master?
https://i.imgur.com/cqiI6TZ.png
Regards, saludos.
https://i.imgur.com/cqiI6TZ.png
Regards, saludos.
João Santos - São Paulo - Brasil
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: xHarbour with SSL/TLS - Master Enrico.
Example, ejemplo, exemplo con outlook.com de Microsoft.
Download:
https://mega.nz/file/ZY0lCC4b#J087eB2aP ... ifxl_41Qco
Regards, saludos.
Download:
https://mega.nz/file/ZY0lCC4b#J087eB2aP ... ifxl_41Qco
Regards, saludos.
João Santos - São Paulo - Brasil
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: xHarbour with SSL/TLS - Master Enrico.
It works!
EMG
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL cFrom := "karinhafwh@outlook.com"
LOCAL cServer := "smtp.office365.com"
LOCAL cTo := "e.m.giordano@emagsoftware.it"
LOCAL cSubject := "Test message"
LOCAL cMessage := "This is a test message."
LOCAL cUser := "karinhafwh@outlook.com"
LOCAL cPassword := "yourpassword"
LOCAL cPort := "587"
LOCAL lTLS := .T.
? HB_SENDMAIL( cServer, VAL( cPort ), cFrom, { cTo }, , , cMessage, cSubject, , cUser, cPassword, , , , , , , , , , , , lTLS )
RETURN NIL
Re: xHarbour with SSL/TLS - Master Enrico.
No funciona. Example complete?
Regards.
Regards.
João Santos - São Paulo - Brasil
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: xHarbour with SSL/TLS - Master Enrico.
The sample is complete and working fine. Of course, you must link tipssl.lib, libssl.lib and libcrypto.lib and put libcrypto-1_1.dll and libssl-1_1.dll in the same directory of the EXE (or in the system directory).
EMG
EMG
Re: xHarbour with SSL/TLS - Master Enrico.
Seriously? You have my password, send me a test email from your example, please. Does anyone else testify that this example from Mr. Enrico works? Where do I find these updated LIBS? When I post an example, I post complete and working. Thanks.
Regards, saludos.
Regards, saludos.
João Santos - São Paulo - Brasil