473,803 Members | 3,095 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

reading outlook attachments

Hi all,

Does anyone know of a class which will read outlook email messages. I
need to be able to scan outlook for "non-read" e-mails with a specific
subject and then save the attachments and mark the e-mail as "read". I
tried working with the am outlook application COM object but could
not get it to work.

If you have another way to do what I want, without human intervention,
I'm open for suggestions. I't goes without saying I want to be able to
do it form or with PHP.

TIA

Roger
Jul 16 '05 #1
5 6101

<PI*****@HOME.N L> wrote in message
news:jl******** *************** *********@4ax.c om...
Hi all,

Does anyone know of a class which will read outlook email messages. I
need to be able to scan outlook for "non-read" e-mails with a specific
subject and then save the attachments and mark the e-mail as "read". I
tried working with the am outlook application COM object but could
not get it to work.

If you have another way to do what I want, without human intervention,
I'm open for suggestions. I't goes without saying I want to be able to
do it form or with PHP.

TIA

Roger


Outlook is a client - your email is originally delivered, and stored on a
server (which could be a POP3 or IMAP server - they are most popular)
Outlook is the user agent that you use to retrieve and read your email so
the fact that you are using Outlook or any other piece of software as a
client does not relate to your project.

You need to determine your mail server type first - then either use the POP3
or IMAP functions that come with PHP, or use something like SquiralMail
(which I believe is PHP based) to read your email...
Jul 16 '05 #2
Hi Randell!

On Sun, 14 Sep 2003 00:54:36 GMT, "Randell D."
<yo************ **************@ yahoo.com> wrote:

<PI*****@HOME. NL> wrote in message
news:jl******* *************** **********@4ax. com...
Hi all,

Does anyone know of a class which will read outlook email messages. I
need to be able to scan outlook for "non-read" e-mails with a specific
subject and then save the attachments and mark the e-mail as "read". I
tried working with the am outlook application COM object but could
not get it to work.
With COM objects named, he might be talking about Outlook running on
his server.

If you have another way to do what I want, without human intervention,
I'm open for suggestions. I't goes without saying I want to be able to
do it form or with PHP.


Outlook is a client - your email is originally delivered, and stored on a
server (which could be a POP3 or IMAP server - they are most popular)
Outlook is the user agent that you use to retrieve and read your email so
the fact that you are using Outlook or any other piece of software as a
client does not relate to your project.

You need to determine your mail server type first - then either use the POP3
or IMAP functions that come with PHP, or use something like SquiralMail
(which I believe is PHP based) to read your email...


Something like processing them there seems to me more reasonable as
well.

HTH, Jochen
--
Jochen Daum - CANS Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 16 '05 #3
Everything is hooked up to an centralized exchangeserver.
Jul 16 '05 #4
"PI*****@HOME.N L" <PI*****@HOME.N L> wrote in message
news:<2v******* *************** **********@4ax. com>...

Everything is hooked up to an centralized exchangeserver.


Then access to mail should be possible with a plain old POP/IMAP
client (whether it's actually POP or IMAP, depends on how Exchange
Server is configured). There are plenty of POP and IMAP clients
for PHP; you should be able to find one that will be simple enough
to build up on.

Cheers,
NC
Jul 16 '05 #5
santoshborse
1 New Member
"PIII450@HOME.N L" <PIII450@HOME.N L> wrote in message
news:<2vp9mvkfg nenj46a39phcb7l mpq42q5di3@4ax. com>...[color=blue]
>
> Everything is hooked up to an centralized exchangeserver.[/color]

Then access to mail should be possible with a plain old POP/IMAP
client (whether it's actually POP or IMAP, depends on how Exchange
Server is configured). There are plenty of POP and IMAP clients
for PHP; you should be able to find one that will be simple enough
to build up on.

Cheers,
NC

Hi,

If you have POP3 server your mails can be actually stored in your mailbox physically.

you can you Microsoft COM object to manipulate Outlook email programatically .


Thanks and Regards,
Santosh
May 7 '06 #6

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

Similar topics

15
4319
by: Sven Templin | last post by:
Hello all, our configuration is as following described: - OS: Windows 2000 - Apache server 1.3 - Php 3.8 - MS outlook client 2000 _and_ no SMTP server available in the whole intranet.
12
1747
by: Andrew | last post by:
What do people use to read these newsgroups? I have been using my web browser (IE) and pointing it to "http://msdn.microsoft.com/newsgroups/". The experience doing this has been pretty much awful. Is there something better? I do not want to use Outlook -- I do not trust it to refrain from opening executables. If anyone is interested, some of the problems with using IE with the MSDN newsgroups are as follows. The display doesn't...
0
5428
by: Job Lot | last post by:
I am retrieving message from the Inbox as follows: (MS Article ID 310258: How to use the Microsoft Outlook Object Library to retrieve a message from the Inbox by using Visual C# .NET) Try Dim oApp As Outlook.Application = New Outlook.Application Dim oNS As Outlook.NameSpace = oApp.GetNamespace("mapi") oNS.Logon(Missing.Value, Missing.Value, False, True) Dim oInbox As Outlook.MAPIFolder =...
1
1858
by: Himselff | last post by:
Hi guys, Im developing a lil add-in that is goiing to allow the user by a button click to auto print PDF doc which are attach to hes emails, i think the things is to simple cause its not working at all, hope u guys can gimme a hand , heres the code, Public Sub OnStartupComplete(ByRef custom As System.Array) Implements Extensibility.IDTExtensibility2.OnStartupComplete
2
2451
by: Pieter | last post by:
Hi, I'm using a thight integration with Outlook 2003 (with an Exchange server) in my VB.NET (2005) application. Until now I'm using the Outlook Object Model, but it appears to be very slow, and has some problems: - doing a Move changes the ReceivedTime of the MailItem - I can't use RichText in the MailItem.Body (only allows plain text or HTML) - some other stuff like having to use small 'tricks' to show the default signature in an email
1
2172
by: tom north | last post by:
What I am after would be a VB script perhaps using CDO to access the inbox of a mailbox, and push or pull messages in or out to a flat file directory on disk -- Tom North
1
7065
by: PhilD | last post by:
My C#.NET console app checks a public folder every 24 hours for incoming emails. For each unread email in the folder, it copies any attachments to the network, then loads the contents of these files into a SQL Server database, and marks the email as read. My problem is that in the loop that checks for all the Unread emails in the folder, as I spin through the loop, the number of unread items is being reset for every iteration. So...
7
6811
by: Dean Spencer | last post by:
Can anyone help? I am importing Emails from Outlook using the following code: Public Function ScanInbox(SubjectLine As String) Dim TempRst As Recordset Dim OlApp As Outlook.Application Dim Inbox As Outlook.MAPIFolder Dim InboxItems As Outlook.Items Dim Mailobject As Object Set OlApp = CreateObject("Outlook.Application")
4
16706
prabunewindia
by: prabunewindia | last post by:
Hello everybody, here i am going to explain, how to get mails from Outlook express database and store in our own database(local) Initially you have to add the refference Outlook library10.0 or 11.0 from add ref. If you not find that, download the dll from here and install..click here open and windows application (or ASP.NET) in Form1 class code(declare) the following,
0
9703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10550
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
10317
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
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5501
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
5633
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4275
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
3799
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2972
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.