email question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

email question

Post by jaymoore_299 »

I want to be able to download emails from my account using php into a text file so that each entry is delimited from each other like this:

***************************************
email 1
***************************************
email 2
...etc

I also want to have it so that php does not delete the emails unless I specify it to, so that all php would do is read the same emails that are in my outlook express. Any ideas on how if this is possible and how to implement this?
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

from my account
- what account?


wait, what? Are you trying to load your outlook contacts list into PHP?
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

Post by jaymoore_299 »

I mean email address . Not contacts, but emails themselves.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

emails are a bit trickier, but your address book can be imported via exporting from Outlook your book in CSV format.
jaymoore_299
Forum Contributor
Posts: 128
Joined: Wed May 11, 2005 6:40 pm
Contact:

Post by jaymoore_299 »

so it can't be done?
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

jaymoore_299 wrote:so it can't be done?
google on the term "CSV"
User avatar
ericburnard
Forum Contributor
Posts: 104
Joined: Wed Jun 15, 2005 5:11 pm
Location: Chesterfield, UK

Post by ericburnard »

Are you wanting to read all the emails you have already or all the ones you get from now on.

You could consider writing a macro that exports all emails received to a text file. also you can get it to then send mail from certain email addresses to different txt files... if you wanted :D

Eric
Post Reply