473,513 Members | 2,323 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MIME Encode Decode Class for emails with save,load, pop, smtp ???

Hi!

I need to write an app that downloads an email (pop3),
and saves it to a file.

The file should be opened again and parsed to get subject, body,
attachments...

Inline-images and other attachments, priority-settings and
receipt-notification should be
possible.

As the project must have as little dependencies, I would prefer a class (or
some of them) ,
that can be added easily.

As a former ASP developer I was used to Jmail or ASPMail. These components
do all I want, but I would like
to avoid COM-components (os-independent...)

I searched the imap-documentation, but imap can download and decode
messages, but messages cannot be loaded
from files.......
Anyone who can help?
Please help!!

Alexander
Jul 17 '05 #1
1 3309
Hello,

On 04/20/2004 01:20 PM, Alexander wrote:
I need to write an app that downloads an email (pop3),
and saves it to a file.

The file should be opened again and parsed to get subject, body,
attachments...

Inline-images and other attachments, priority-settings and
receipt-notification should be
possible.

As the project must have as little dependencies, I would prefer a class (or
some of them) ,
that can be added easily.


You may want to try this class that seems to meet exactly your
requirements for encoding and sending your messages:

http://www.phpclasses.org/mimemessage

For decoding the messages, you may also use other classes available in
the same site.
--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jul 17 '05 #2

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

Similar topics

2
2316
by: Ricky | last post by:
I want to use encode and decode in a varchar field size 100. This would just hold last and first names. Would this give me any porblems? thanks for any help! Ricky
4
4880
by: Newbie | last post by:
How would I modify this form to encode *all* the characters in the 'source' textarea to the '%xx' format & place result code into the 'output' textarea? (cross browser compatable) Any help is...
0
3957
by: Hardy Wang | last post by:
Hi all: Anybody has some ready-to-use codes in C# to encode / decode MIME format data? Thanks! -- WWW: http://hardywang.1accesshost.com ICQ: 3359839 yours Hardy
4
7549
by: Darrel | last post by:
How does HTML.encode work? I'm trying to save text in a hidden form field into a SQL DB. The tedt is HTML (from a WYSIWYG editor...X-standard). One problem I have is that stray apostrophe's in...
2
3089
by: asnowfall | last post by:
I am trying to build System.Mail.MailMessage object out of mime encoded SMTP data. I have following questions Byte byteMailData; //mime encoded STMP data for "email with attachment" 1)...
3
10930
by: b. dougherty | last post by:
Greetings all- I am trying to extract subject headers from emails that have been saved as text files. The subject headers are in MIME UTF-8 format, and so they appear like this: subject:...
1
1642
by: Datawright | last post by:
Apologies if this is a daft question but I'm new to c# and everything is strange to me. I have written a SOAP Extension class that intercepts a web service that returns MIME attachmernts as part...
1
5758
by: anonymous | last post by:
1 Objective to write little programs to help me learn German. See code after numbered comments. //Thanks in advance for any direction or suggestions. tk 2 Want keyboard answer input, for...
2
1341
by: Kris Kennaway | last post by:
I would like to MIME encode a message from a large file without first loading the file into memory. Assume the file has been pre-encoded on disk (actually I am using encode_7or8bit, so the...
0
7175
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
7391
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,...
1
7120
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
7542
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
5697
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
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3247
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...
0
3235
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.