473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to read the content of mail?

Hello everyone,

I want to read the content of the mail from outlook express.
then send that content to other mail. First is it possible to read the content of mail in PHP?

waiting for ur comments
Jul 30 '08 #1
4 1392
Atli
5,058 Expert 4TB
Hi.

PHP can do all sorts of things to mail. I doubt very much it can do anything to Outlook tho, as that is simply an email-client. And the fact that it is a Microsoft email client doesn't help matters much.

You could have PHP read the mail directly from the server, in much the same way Outlook would.
Check out IMAP in the manual for info on how to do that.
Jul 31 '08 #2
Thanks for u reply.So they is a way to read the content of mail from outlook.
Ok I go through IMAP and come back again!
Jul 31 '08 #3
I am Unable to understand about imap. could u tell me exatly wt to do?
Jul 31 '08 #4
Atli
5,058 Expert 4TB
You can't really read your mail from Outlook because that is just an email client.

What you need to do is create a lightweight *email client* using PHP, that is capable of reading the mail directly from the server (which is where IMAP comes in).

Then you can use PHP's mail function to relay that mail wherever you want.

This isn't something you can do by copy/past'ing a few lines of code, you will really have to know how this works and how to configure all of that.
I would recommend Google'ing for some more info on this.
Jul 31 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Irmen de Jong | last post by:
Hi I'm trying to create e-mail content using the email.MIMEText module. It basically works, until I tried to send mail in non-ascii format. What I did, to test both iso-8859-15 and UTF-8...
6
by: chuck amadi | last post by:
Hi , Im trying to parse a specific users mailbox (testwwws) and output the body of the messages to a file ,that file will then be loaded into a PostGresql DB at some point . I have read the...
16
by: Chuck Amadi | last post by:
Sorry to bovver you again (again) here's script. I still can't see why the get_payload() doesn't produce the plain text message body of an emails in the testwwws users mailbox. As you can see I...
0
by: Majordomo | last post by:
-- >>>> --36742377 **** Command '--36742377' not recognized. >>>> Content-Type: text/plain; charset=us-ascii **** Command 'content-type:' not recognized. >>>> Content-Transfer-Encoding: 7bit...
7
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
12
by: Andy Sutorius | last post by:
Hi, I am getting the error "Invalid attempt to read when no data is present" when I run the following code. I have checked the sql and it is returning data. What am I missing? string...
6
by: citlaly | last post by:
Hi!! I'm a beginner in python and I'm trying to use the files from a "folder" as a list. What I want to do is read each one as a list, but just the name of the file, the data inside doesn't...
3
by: Ryo | last post by:
Hello ! I have some saved Outlook message (.msg) and I want to read the subject, the body and the attachments of them for indexation; How to retrieve these informations ? Thanks.
4
by: zl2k | last post by:
hi, there I have a appendable binary file of complex data structure named data.bin created by myself. It is written in the following format: number of Data, Data array Suppose I have...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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 project—planning, coding, testing,...

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.