Retrieving email over SSL in Foxpro - visual-foxpro

I'm trying to retrieve emails from a pop box over SSL, using Foxpro. Does anyone have any examples of code using OpenSSL, or have any other recommendations for how to do it? I've done my own research but not found any great answers.

There's an example Visual FoxPro POP retrieval class here that uses the Windows Sockets library and SSL/TLS. It requires the Chilkat mail ActiveX control though.

Related

Is msal-browser fit/safe for use for Outlook Addins in acquiring GRAPH tokens?

I have an outlook addin that runs on REST-APIs. I want to migrate it to GRAPH and I am currently exploring the possibility of using the MSAL-browser library to get the GRAPH access tokens. I am currently using this as reference. This was mentioned in this stack-overflow item
I find the 'Single Page Application' solution straight forward, not requiring much interaction with the addin host server. I intend to use its authRedirect flow.
Although I have my own opinions/conclusions, I would like to ask some expert thoughts on the following :
Does MSAL-browser library work for all platforms now? (i.e. Windows Outlook client, IPhone/Android Outlook client, MAC-Outlook client and browser-OWA outlook)
Is it safe to use MSAL-browser for an outlook addin?
If it is not safe, what other alternative is there that does not require much interaction with the addin server?
Thank you very much for all your answers.
We are actively working on MSAL library and currently it is not supported in OWA. As an alternative you can use ADAL library

Downloading pop3 mail attachment with vbscript

I am looking for a way to automatically download an email attachment from a pop3 account on a Windows Server 2008. I am limited to using default Windows technology to solve this problem (i.e. not installing additional software or scripting environment).
So far I have selected vbscript as a scripting solution, but struggle with the access to pop3 account. As far as I understood I could use ActiveX/COM or another dll to extend the functionality. Since another dll would mean additional software, this solution is not feasible.
To all you vbscript(-ing) professional: Could you provide an example or a hint on how do solve this download problem with vbscript?

How to suppress Outlook's security warning in win7-32 and Outlook 2003 that uses VB6 and CDO 1.2.1

We have VB6 code that works in Win XP and Outlook 2003 using CDO 1.2.1. Now that we moved to Win7 32-bit, we have the Outlook security warning (not UAC) that an application is trying to access a particular outlook feature. I have searched for hours without success. I am looking for specific guidance rather than corrections per se to my code. If you have particular code to display the address book in said environment, that would be great! BTW, building a homegrown list of addresses rather than calling the address book (thus requiring CDO) was rejected and hence not an option. Thank you!
You can use Outlook Redemption to accomplish what you desire without the security warnings.
http://www.dimastr.com/redemption/home.htm

Does Windows, Outlook, or Exchange have an API for reading iCal format?

I'm trying to add iCal import support to my existing scheduling application which needs to support Windows XP, Vista, and 7. Writing iCal format is easy, but reading it is another story, mostly trying to convert times to local times with the complex TIMEZONE/TZID/RRULE syntax. Ideally Windows would have a native API for this, but I haven't found one.
I know Outlook 2007+ has an OpenSharedItem function that would work. I don't want to require users to have Outlook installed though, since my application "competes" with Outlook. I thought about writing a web service that would use Outlook on my web server to do this, but I know using Outlook OLE/COM objects from a service has issues, so that probably isn't an option either. I do own about 300 Exchange Server licenses, are there any APIs with Exchange that would maybe work better? I do notice when I email iCal files from GoToMeeting.com they say they were created with "Microsoft CDO for Microsoft Exchange", so I have a feeling they are doing something like this to avoid writing the format themselves.
My application is written in C++ using mostly native Win32 API, but I don't mind creating a .NET DLL for this, or even requiring users to have Internet access so I can post the file to my web server and have it return a converted format my app can use easily. My web server runs on Windows though, so anything Unix-based might be dificult. Other than that, I'm pretty open to options.
Update: I did find CDOEX but as I've never used it before, can anyone tell me where to start and if it can in fact do what I need? I don't really see much about iCal in the docs, and I'd need to install Exchange on my dev PC (not crazy about that) to start playing around with this API.
You can try to use Redemption (I am its author) - it allows to explicitly import iCal files using RDOAppointmentItem.Import(..., olICal).

Modify data in LDAP server using Outlook or Thunderbird

both Outlook and Thunderbird are able to find contacts in a LDAP server, but none of them are able to modify contacts data.
Is there a plug-in or anything else to allow such thing?
Regards, Cédric
I don't know of any. But this guy seems to have managed doing it with VBScript which with some further work you should be able to nicely integrate into Outlook
Add/Modify/Delete Exchange Contact with VBScript
Yes, you can't, even nowadays - late 2011 (TB is not supporting it, and also Outlook 2007). Anyhow, some mail clients are allowing this, in example Evolution.
I have not tested Outlook 2010, but i feel this is the same.
To check: if you can modify an ActiveDirectory directory. AD is LDAP, although the schema is specific to microsoft.

Resources