473,769 Members | 5,374 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reading outloook mails in PHP

Is it possible to read Outlook mails in PHP?? I would like to create a
php program that reads mails from a particular person which are
downloaded in MS Outlook.

Ethan

Feb 5 '06 #1
4 2024
i would like to do something similar actually. i havent ever actually
got around to playing with it. i would appreciate it if you would post
some code if you manage it.

as a help to you, outlook saves all of its data in a file called
outlook.pst (please note outlook express uses a different file) its in

C:\Documents and Settings\Admini strator\Local Settings\Applic ation
Data\Microsoft\ outlook i thin or something like that. the directory
local settings is hidden if you didnt know.

im not sure about updated emails and not sure if this file is updated
when outlook is open or not but its a start.

you could create a php file that takes this outlook.pst file in and
makes some sense of it. de-microsofting the code will be a pain but im
sure theres a way. look at a php function called file() to grab the lot
into an array. or this way may be better as im not sure how arrays cope
with huge amounts of data like microsofts datafiles usually are. try
fopen();

hope this helps

Sean Barton

Feb 5 '06 #2
et******@gmail. com wrote:
Is it possible to read Outlook mails in PHP?? I would like to create a
php program that reads mails from a particular person which are
downloaded in MS Outlook.


The PST file format has been reverse-engineered, documented and there is
code written in PERL to handle it. But its kind of a fscked up way of
solving the problem of reading Email on a platform with crappy integration.

Use IMAP.

C.
Feb 5 '06 #3
I saw an MSDN article in
http://search.msdn.microsoft.com/sea...View=msdn&st=b
which stated that pst came in different formats and folder size limits.
http://episteme.arstechnica.com/grou...5003017631/p/2
"Sean Barton" <ba*********@gm ail.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. .
i would like to do something similar actually. i havent ever actually
got around to playing with it. i would appreciate it if you would post
some code if you manage it.

as a help to you, outlook saves all of its data in a file called
outlook.pst (please note outlook express uses a different file) its in

C:\Documents and Settings\Admini strator\Local Settings\Applic ation
Data\Microsoft\ outlook i thin or something like that. the directory
local settings is hidden if you didnt know.

im not sure about updated emails and not sure if this file is updated
when outlook is open or not but its a start.

you could create a php file that takes this outlook.pst file in and
makes some sense of it. de-microsofting the code will be a pain but im
sure theres a way. look at a php function called file() to grab the lot
into an array. or this way may be better as im not sure how arrays cope
with huge amounts of data like microsofts datafiles usually are. try
fopen();

hope this helps

Sean Barton

Feb 12 '06 #4
> Is it possible to read Outlook mails in PHP?? I would like to create a
php program that reads mails from a particular person which are
downloaded in MS Outlook.


Although you don't say what platform you want to do this on, presumably
it is a Windows OS and you want to run it on the client that has MS
Outlook installed.

Your best bet is to use VBScript directly to access MS Outlook methods
and properties. See MSDN for details. You could drive a VBScript from
PHP but I don't see what value it would have to add this extra layer.
Alternatively you could use PHP's COM extensions to do the same job -
see previous comp.lang.php threads on that topic.

---
Steve

Feb 12 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1982
by: WebRod | last post by:
Hi everybody, I just would like to download the new mails I received on my POP3 server (and keep a copy on the server) I use PHP 4.3 and IMAP functions (they are compatible with both POP3 and IMAP servers). When I use OUTLOOK, no problem, in less than 5 seconds, it answers me: " you have XX new messages"
7
3521
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server administrator told me to write the emails to the “pickup directory” instead. I know that JMail can do this in ASP, but how do you do this in asp.net? -- --------------------
2
1143
by: jamal | last post by:
hi guys I am looking for a way to read & download my e-mails from my pop3 account from another server by using ASP(vb) If you know anything about this subject please feel free to let me know. I learn how send but not receive. thanks Jamal
1
1378
by: Richard | last post by:
Hi Friends, How can I read and delete outlook e-mails from vb.net. I'll appreciate your help. RC
2
1478
by: GSK | last post by:
Hi, Can any once suggest me how i can read inbox mails from C#. Does .NET support any component or do i need to use the Mapi interop. Thanks... GSK.
2
6203
by: beeswax | last post by:
Hi, Does anyone knows how to read e-mails from a specific folders in outlook? I only found out how to read the mails from the inbox folder and how to list all available folder. I just don't found a way to access my mails from the other folders. Can anyone help me?
1
1156
by: ckok | last post by:
Hi, I am coding an application that gets all the mails(exchange server) in a folder and then enumerates all the attachments. But some mails have slashes("\") in the subject and display name. I am unable to access these mails, since each slash is being treated as a new directory. How do I access thes mails? I am using webdav and c# .net. thank you, CK
0
1318
by: teddy06 | last post by:
I have written code for read mails from exchange server. I have used webdav in my code. Its was working fine once upon a time. Currently configuration settings of client has been changed . so i am getting login timeout error. Can you pls help me out ? I dont know whether the WEBDAV is enabled or disabled.even i do not have access to enable it and see the configuration settings. pls provide some sample code for reading mails from...
2
1314
Maidenz08
by: Maidenz08 | last post by:
Can you please shed some light on how to capture incoming and outgoing mails from third party mail providers like yahoomail and gmail on a particular machine. I am able to read mails sent or recieved from outlook but what is the methodology that can be used to capture mails through other mail providers. Thanks in advance
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10215
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10049
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5307
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3964
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3564
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.