473,406 Members | 2,619 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.

IMAP body formatting

LuiePL
24
I'm developing a web based email application for my website, and right now I'm working on getting on the "read" portion up and working. I would like it to only display the actual text of the message that was typed. It also repeats the message. Below is an example of it.





--0-70050447-1167043329=:89022
Content-Type: text/plain; charset=iso-8859-7
Content-Transfer-Encoding: quoted-printable

Yes I do agree Merry Christmas to all members. Have a safe and Health New Y=
ear.=0A =0AHoward Roun Jr.=0ASenior Dispatcher Southern New Jersey=0ANJ801=
=0AEast Coast Radio NJ801=0A=0A=0A=0A----- Original Message ----=0AFrom: EC=
RN Operations =0ATo: [email]=0ASe=
nt: Monday, December 25, 2006 12:37:33 AM=0ASubject: Merry Christmas=0A=0A=
=0AOn behalf of the Administration of East Coast / 1st Responder Radio we=
=A2d like to wish all our members a Safe and Merry Christmas to you and you=
r families along with a Happy and Healthy New Year!=0A =0AAdministration / =
Operations=0AEast Coast Radio Network - Philadelphia=0AA Division of the 1s=
t Responder Radio Network=0A"We're in Command"=0A[email]=
m=0A =0Ahttp://www.eastcoast911.com=0Ahttp://www.1stResponder.com=0A=0A____=
______________________________________________=0AD o You Yahoo!?=0ATired of =
spam? Yahoo! Mail has the best spam protection around =0Ahttp://mail.yahoo=
.com
--0-70050447-1167043329=:89022
Content-Type: text/html; charset=iso-8859-7
Content-Transfer-Encoding: quoted-printable

=0AYes I do agree Merry Christmas to all me=
mbers. Have a safe and Health New Year. =0AHoward Roun Jr.=0ASenior Di=
spatcher Southern New Jersey=0ANJ801=0AEast Coast Radio=
NJ801=0A=0A----- Origina=
l Message ----From: ECRN Operations <[email]>=
To: [email]Sent: Monday, December 25, 2006 12:37:33 AM=
Subject: Merry Christmas=0A=0A=0A=0A=0A=0AOn behalf of the Admin=
istration of East Coast / 1st Responder Radio we=A2d like to wis=
h all our members a Safe and Merry Christmas to you and your families along=
with a Happy and Healthy New Year!=0A =0A=0AAdmini=
stration / Operations=0AEast=
Coast Radio Network - Philadelphia=0AA Division of the 1st=
Responder Radio Network=0A"We're in Command"=0AOperationsateastcoast911.com=0A=
&nb=
sp;=0Ahttp://www.eastcoast911.com=0Ahttp://www.1stR=
esponder.com =0A =
________________________________=
__________________Do You Yahoo!?Tired of spam? Yahoo! Mail has the=
best spam protection around http://mail.yahoo.com
--0-70050447-1167043329=:89022--
Feb 8 '07 #1
1 3453
ronverdonk
4,258 Expert 4TB
Have a look at the 'email' classes at phpclasses.org. There you will find a couple of classes that can decode your email.

One of those classes is Email class

Ronald :cool:
Feb 8 '07 #2

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

Similar topics

3
by: Joachim Smit | last post by:
Is it possible to extract the email-body from a IMAP-mail-file ? The function 'imap_body()' expects that I'm connected to an IMAP-server, but I'm not. I just have the file. So I'm looking for...
5
by: F. GEIGER | last post by:
Hi all! As I saw Alex Martelli's post about a mbox cleaner based on POP3, I thought, it could be possible to do that based on IMAP too. That way I could ask the server for mails having attached...
3
by: chirag | last post by:
i want a IMAP server for windows so that i can retrive incoming mails. I use mssql server to store user information. i need IMAP server to develop project i.e mail system can any body sent me...
0
by: Kevin F | last post by:
I've been trying to implement this script, it polls an IMAP inbox for unread messages and displays the sender and subject in a scrollable window using Tkinter. However, when I try to change the...
0
by: Kevin F | last post by:
Sorry to repost... but 4am didn't get much responses. I've been trying to implement this script, it polls an IMAP inbox for unread messages and displays the sender and subject in a scrollable...
5
by: Kun | last post by:
Hey guys, I would like to have a code in python (as simple as possible) to scan a specific folder in my mailbox and if the subject is equal to, say, 'BIKES', I would like to have the code...
2
by: pmarg212 | last post by:
Greetings, I currently have incoming email piped to a php script using a .forward file. I would like to be able to parse the incoming mail, perform operations, and then fire back an email...
4
by: shmick30 | last post by:
Hi There, I am looping through and reading the body contents of a mail box with over 200 emails in it. The script is running very slow and timing out after 180 seconds, only getting through...
1
by: nitinpatel1117 | last post by:
Hi, i'm using php's imap extension to read emails from a mailbox. My php script has been working fine and i'm pretty sure that there is nothing wrong with it. here is extracts from my code ...
1
by: kathiresan | last post by:
Hi I'm trying a windows service that fetches the contents of the mails from my inbox and saves them in a database using IMAP protocol. I've fetched the contents of the mail body using the IMAP...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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
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
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.