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?
Related
We have a project that has numerous Outlook OFT files. Users download these files and use them to send prewritten emails in Outlook.
I have been looking for a way to convert these files into plain text. Ideally, this conversion functionality would be incorporated into the web app that runs on Linux servers. I mention Linux because Outlook and OFT are Microsoft products.
I have not found any libraries, class, tutorials around this topic. I have found very little conversation besides trying to do HTML->OFT which points to a Microsoft only library. I am most experienced with PHP, but I am open to any approach.
FWIW, I believe OFT can have templating information in it. I am only interested in extracting the message content/body.
OFT is the same an MSG (with a different class signature GUID). Whatever library you can find for working with MSG files, will work with OFT as well.
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
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).
Was wondering if there was a simple way to add and configure a POP3 server to Outlook's mail server settings programmatically?
Searching Google seems to yield results that tell me I have to reverse-engineer the gobbledygook stored under HKCU\Software\Microsoft\Windows NT\Windows Messaging Subsystem\Profiles. My employer wanted to see if it was possible to quickly bang out a program to configure our users' POP3 settings (we're spread out around the country) and so far this is looking anything but simple.
I have VS2008 and all the Windows/Office built-in scripting tools at my disposal, though I don't know a lick of C++ (only C, C# and some web/linux stuff, I am self-taught).
Does anyone know of a simpler way to access Outlook's mail profiles in order to add to or tweak them?
Thanks!
Tom
Outlook supports the PRF file as a means to add/configure mail accounts:
http://technet.microsoft.com/en-us/library/cc179062(office.12).aspx
You could distribute the file itself to your users, or write a utility to create it and open it with Outlook.
The easiest approach is to create an AutoIt script to perform the changes through the front end. That way you don't need to reverse engineer anything. It's usually the quickest and easiest approach to making a change. After the script is good to go, compile it and distribute it. Have the end users run the application and they're done.
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.