I need help to understand how to set up/configure my app to be able to send/read emails from O365. I am having trouble finding a step by step guide. Does anybody have any suggestions? Im am using ODC.I am a novice, bare with me, and thank you :)
Best Regards, Kim.
Hi Kim,
I have included a couple of links below that serve as a guide for the configuration process. These resources should assist you in understanding how to set up and send emails within ODC platform.
For Email Configuration:
For Sending Emails:
Thanks,
Vipin Yadav
I followed the links and was able to send an email with "hard coded" text to a test list, set up in the portal.Now I'm wondering what I need to do so that the user that is logged in is the sender of the email, instead of the one setup in the portal.
Hello Kim,
You may enter the sender's email address in the "From" field, and in the "To" section, you can specify the customer's email address or any other intended recipients.
I have included a screenshot below for your reference. Please review it and let me know if you need any further information or assistance.
I am unable to get a functional expression to get a hold of current users email.
If you wish to retrieve the logged-in user's email ID, please follow the steps outlined below:
Ok, it is now working...thank you so much! :)Next problem is that it is only the user, who has the same email as we configured with in the odc portal, that can send emails.Is it possible to have more emails in the portal or how would you suggest we solve this?
Thnk you so much for your help! :)
On the portal, you can add only one email address; however, when sending an email, you can include multiple email IDs in the 'To' or 'From' sections.
To resolve your issue, please follow the steps below:
I have added a screenshot below for your reference. Please check it and let me know if you have any questions.
There is a forge component available to integrate with Office 365 email for O11. You might want to explore this and get the idea how the integration works, then replicate similar approach for ODC.
https://www.outsystems.com/forge/component-overview/12494/read-office365-email-o11
Hope it helps!
Junaid
Setting up your app to send/read emails from O365 can be a bit tricky at first. Here’s a simplified guide to help you:
1. Register your app in Azure AD: Go to the Azure portal, register your application, and note down the Client ID and Tenant ID.
2. Configure API permissions: Grant the necessary permissions for sending and reading emails (e.g., Mail.Read, Mail.Send).
3. Set up authentication: Use OAuth 2.0 to authenticate your app with the Client ID, Tenant ID, and Client Secret.
4. Integrate with O365: Use Microsoft Graph API to send and read emails.
For detailed steps, you might want to check the official Microsoft documentation or OutSystems forums.