How to Retreive mail from inbox. (answer)

dayv2005

Member
Some people have asked me for some snippets and stuff regarding reading someones inbox so i found this snippet from awhile ago it's kind of rough. NAd the indexing needs worked out better because some inboxs with many messages take forever to load so i decided i would upload it here for those people.
 

Attachments

Dayv,


I collected the application but when I try run give me this message error:
" The automation server for Redemption.SafeMailItem is not registered properly.
Please reinstall this server or try registering it again. (5893) "

What I need to do? I need update Outlook in my desktop or in the Server?

Progress 9.1C and Outlook 2003

Thanks,
Kind Regards,
Rrojo7229
 
I think you need to install redemption.dll among other things it bypasses outlook security.

http://www.dimastr.com/redemption/

Casper.

That's correct, I forgot that we use redemption in all of our application integration i will write a follow up version of this but i highly recomend using redemption bc when you access many files from otlook at once that security dialog can get pretty annoying.

But if anyone needs it send me their email i'll email it and when i get a chance i will upload it on here for anyone.
 
But if anyone needs it send me their email i'll email it and when i get a chance i will upload it on here for anyone.

I don't want to spoil your enthiousiasm but I think one should know the following:

from the site:
If you plan to include Redemption with a commercial product, you must purchase a distributable version which you can then use for any and all of your products. The cost of the distributable version is $199.99, there are no royalties of any kind. You only need to buy a single license, no matter how many of your products use Redemption or how many copies of your application you distribute. Note that the definition of commercial software also includes internal applications whether they are available to the public or not.

Dmitri spends lots of time in making this all work and is very fast if there are any questions or bugs, so a mere $200,- shouldn't be too much to spend for an unlimited development license.
So If anyone wants redemption.dll go to: http://www.dimastr.com/redemption/ try it and buy it :D

Regards,

Casper.
 
I don't want to spoil your enthiousiasm but I think one should know the following:

from the site:


Dmitri spends lots of time in making this all work and is very fast if there are any questions or bugs, so a mere $200,- shouldn't be too much to spend for an unlimited development license.
So If anyone wants redemption.dll go to: http://www.dimastr.com/redemption/ try it and buy it :D

Regards,

Casper.
Yep exactly i paid 200 for it can't complain it's done me good. But for the porpose of telling him to try the dev trial was so that he can see the difference it will caus. ALong with a lot of headaches and annoyances too without redemption.
 
But when i said

"But if anyone needs it send me their email i'll email it and when i get a chance i will upload it on here for anyone. "

I was refering to the code to retrive email from an inbox using the standard MS OUtlook object library. I wasn't refering to sending them the dev trial of redemption.

Now i personally highly recomend someone paying 200 for it though. Like you said its a one time thing for unlimited dev liscenes. And that's worth it.
 
Dayv,


This solutions works very well, thanks indeed.

But it is possible read e-mails directly from Exchange Server by SMTP?

The razon is that application could be run for any user.

I will be very grateful if you have some samples.

Thanks indeed,
Kind Regards,
Rrojo7229
 
But when i said

"But if anyone needs it send me their email i'll email it and when i get a chance i will upload it on here for anyone. "

I was refering to the code to retrive email from an inbox using the standard MS OUtlook object library. I wasn't refering to sending them the dev trial of redemption.

Now i personally highly recomend someone paying 200 for it though. Like you said its a one time thing for unlimited dev liscenes. And that's worth it.

Sorry for the misunderstanding then. And I totally agree with you that redemption is highly recomandable.

Greetz,
Casper.
 
Sorry for the misunderstanding then. And I totally agree with you that redemption is highly recomandable.

Greetz,
Casper.

no problem man i just wanted to clearify it. It wasn't one of those flame based replies. Mad respect for you.

As fpr smtp we have it disabld in my company do i never messed around with it i wouldn't even know what to do other than accessing some sort of api or something. Is that what MsgStore is for? If not im lost on that one man.
 
Man,

You are great, thanks million.

I will try search around MsgStore...

Thanks endeed Dayv,
Regards,
Rrojo7229


no problem man i just wanted to clearify it. It wasn't one of those flame based replies. Mad respect for you.

As fpr smtp we have it disabld in my company do i never messed around with it i wouldn't even know what to do other than accessing some sort of api or something. Is that what MsgStore is for? If not im lost on that one man.
 
Dayv,

I tried get the Time Received but always it brings me "Date".
I tried get from "safeitem:CreationTime" propertie.

Do you know why?

Thanks a lot Dayv, if you want something from here Ireland ask me and I send to you. Don't talk me about Rugby, I am desapointed...

Kind Regards,
Rrojo7229


no problem man i just wanted to clearify it. It wasn't one of those flame based replies. Mad respect for you.

As fpr smtp we have it disabld in my company do i never messed around with it i wouldn't even know what to do other than accessing some sort of api or something. Is that what MsgStore is for? If not im lost on that one man.
 
Dayv,

I tried get the Time Received but always it brings me "Date".
I tried get from "safeitem:CreationTime" propertie.

Do you know why?

Thanks a lot Dayv, if you want something from here Ireland ask me and I send to you. Don't talk me about Rugby, I am desapointed...

Kind Regards,
Rrojo7229

Haha welcome to The days of frustration i had when creating some integrated outlook apps.

This issue just plain out sucks. THe reason you are getting this is most likely because you're using progress adn not open edge.

The outlook obj Lib stores it times as date-time data types. and Progress 9.x and Lowere does not support date time data types. OE (not sure of the first version) does though.

THe nly work around i found to this was to use the saveas propertyand export it to a txt file and read the infor from there and parse out the data. I have an example of how i had to do this on my outlook activity screen. If i find it i will upload it.
 
Back
Top