Registration disabled at the moment Read more...
×
Search the Community
Showing results for tags 'outlook'.
Found 5 results
-
Need to create an email draft with an HTML body in the "new" Outlook
Martin Binder posted a topic in Network, Cloud and Web
Creating a draft email in the old version of Outlook was easy using the COM interface. Now that it's gone with the new version of Outlook, I need a way to pop up a draft email, where I can specify the From, To, etc, as well as the HTML body of the email. It needs to be a draft, e.g., one that can be sent. I've tried using EML files, and while I can get close, I can't reproduce exactly how it worked with the COM interface. Either the email displays view-only, or if you specify "X-Unsent: 1" in the header, it will be a draft, but you lose the HTML body. I believe you might be able to accomplish this using the Microsoft Graph API. Has anyone done this in Delphi, or can you at least point me in the right direction? Thanks! -
Retrieving outlook contact emails
Connie McBride posted a topic in Algorithms, Data Structures and Class Design
I'm trying to figure out how to retrieve the contacts from outlook from a specific list. for example, I have been able to get the address lists: and now I want to select one of those items (offline global address list, for instance) and get all the contacts/emails from that specific list. I am having no luck working that part out. any help? -
I have been implemented send email with FNC CloudPack to OutLook in Azure. Technically everything works fine. But now there is a change request to automate login. First time a user send an email the browser is started and user need to login. I want to remove that step. I found XOAuth2 protocol that seems to be an extension to OAuth2 that can do this automation by periodically refresh the token ? Is this possible with FNC CloudPack. I found TMS Sphinx. is it possible with this one ? Found this XOAUTH2 Demo from another Component supplier Any other way forward ? I am using Delphi 11.3
-
I currently have the following code: but when I try to connect to Microsoft Office365 (at outlook.office365.com) I can't get it to work (get "LOGIN failed" exception). Is there some other property of the TIdIMAP that I need to set? And what exactly should I put into the UserName/Password fields? Anyone have some working code that connects to outlook.office365.com using TIdIMAP4 ? Keld R. Hansen
-
Hi, I mainly use Outlook to send emails, and on some I attach a document. My code mainly revolves around this line: vMailItem.Attachments.Add( filename ); (vMailItem being the Outlook item object. However, what I'm finding is that after I've sent an email with a file, if I want to send another email but without a file, the file is still attached to the email. I've cleared the edit box which holds the file name (which I use to get the name of the file). I use a boolean variable to say whether there is an attachment or not and that code does bypass the above line, but the previous file is still being attached. Is there a method which can remove any previous file attachments to an email, like 'vMailItem.Attachments.Remove' ?