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 1 3327
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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 appreciated.
Regards.
|
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
|
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 the HTML text are throwing
a SQL error. Html.encode doesn't seem to do anything with these, eh?
Secondly, does HTMLencode also encode already encoded items?
|
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) MailMessage.Body = Convert(byteMailData);
If I do the above, will MailMessage object extract the Message
BODY, Message HEADER and Attachments automatically.
| |
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:
=?utf-8?B?QVVUTyBQRU9QTEUgLS0gTWFuaGVpbeKAmXMgSmVmZiBCdW5jaCBpbiBIaWdoYmVhbXM7IExlZ2VuZGFyeSBSZWQgTWNDb21iczsgV2hv4oCZcyBTaGlmdGluZyBHZWFycz87IE1vcmU=?=
What class can I use to decode the subject text?
|
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 of a multipart. I have split
the MIME into strings which I write to a file via a BinaryWriter. All
this of course gives me is exactly the same content as the string.
My question is how do I take a string containing MIME and create a
file that...
|
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 example:
answer_str = raw_input(' Enter answer ') Herr Üü
|
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 encoding should be
null). Is there a way to construct the flattened MIME message such that
data is streamed from the file as needed instead of being resident in
memory? Do I have to subclass the MIMEBase class myself?
Kris
|
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...
|
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...
| |
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...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |