The new version of FWH introduces a new class: TOutlookMail, which allows sending emails through Office365/Outlook using OAuth2.
You can find a working example in:
samples/outlook/testoutlook.prg
Please note that you will need your own client_id, client_secret, and redirect_uri.
You can follow tutorials like the one below to obtain this information for your app:
https://www.youtube.com/watch?v=7doSLoFUMpg
Be sure to configure the following scope:
"Mail.Send offline_access openid profile SMTP.Send User.Read"
Example screen:
Click to connect

Do you login

After connected, you will see it:

Email received after click button Send:

We hope you enjoy this new feature.
If you have any questions, feel free to reach out!
:D
You can find a working example in:
samples/outlook/testoutlook.prg
Please note that you will need your own client_id, client_secret, and redirect_uri.
You can follow tutorials like the one below to obtain this information for your app:
https://www.youtube.com/watch?v=7doSLoFUMpg
Be sure to configure the following scope:
"Mail.Send offline_access openid profile SMTP.Send User.Read"
Example screen:
Click to connect

Do you login

After connected, you will see it:

Email received after click button Send:

We hope you enjoy this new feature.
If you have any questions, feel free to reach out!
:D
Regards,
Lailton Fernando Mariano
Lailton Fernando Mariano