Hello,
i want to write a PHP4 script that reads POP3 or IMAP mail and can
decode the possible attachments in the email. I've looked around for
some classes to do this, and found a few, but most of them seem to be
very lowlevel or lacking in functionality. Is there a good script,
class or example for decoding email attachments?
I have used a class called attachmentread, but this class expects an
attachment as disposition: attachment, while my email with attachments
are all inline... any ideas?
Olaf 3 6907
olafmol wrote:
i want to write a PHP4 script that reads POP3 or IMAP mail and can
decode the possible attachments in the email.
http://www.php.net/imap
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
On Apr 10, 12:59 pm, Toby A Inkster <usenet200...@t obyinkster.co.u k>
wrote:
olafmol wrote:
i want to write a PHP4 script that reads POP3 or IMAP mail and can
decode the possible attachments in the email.
http://www.php.net/imap
Yeah, but in my (limited!) experience, the IMAP library installed.
I've just finished writing a function to parse a raw message returned
from a basic POP3 class to an array so I can mangle it because I want
an application people without IMAP can use.
OTOH, Olaf, it doesn't seem like it'd be that hard to change the class
to accept inline attachements. But maybe not; I'm pretty new to
mangling email.
Aerik
Hello,
on 04/11/2007 03:42 PM Aerik said the following:
>>i want to write a PHP4 script that reads POP3 or IMAP mail and can decode the possible attachments in the email.
http://www.php.net/imap
Yeah, but in my (limited!) experience, the IMAP library installed.
I've just finished writing a function to parse a raw message returned
from a basic POP3 class to an array so I can mangle it because I want
an application people without IMAP can use.
OTOH, Olaf, it doesn't seem like it'd be that hard to change the class
to accept inline attachements. But maybe not; I'm pretty new to
mangling email.
Did you try this MIME parser class? It supports any type of message
structure including attachments: http://www.phpclasses.org/mimeparser
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Thomas Williams |
last post by:
When I use this line jpg attachment, come out darker
that it's suppose to be.
filelne = filelne + base64.decodestring(line)
Tom Williams
|
by: Mad Scientist Jr |
last post by:
I am writing a simple POP email reader in asp.net (vb.net) - I have the
entire message read into a string variable. Can someone explain how to
parse the message and save any MIME attachments out to file(s) so the
user can download attachments to their local machine?
|
by: ErwinF |
last post by:
Hi there,
I would like to know the following:
How to send send email attachments using WebDAV in VB .NET? Sample code please...................
Thanks for your help.
|
by: Joe George |
last post by:
Hi there,
How to save email attachments, from exchange, using WebDAV in C#.NET? Sample code please...................
Thanks for your help.
--
Joe George
|
by: David Veeneman |
last post by:
My web app creates several temporary files, then attaches them to an email
that it sends out. When the app attches the documents to the email, .NET
locks the files. My problem is that they aren't getting unlocked.
When the app runns, the first thing it does is delete the files left from
its last run. So, on the second run of the app, I'm getting this error
message: " The process cannot access the file 'D:\ ... \MyFile.txt' because
it is...
| |
by: jackiewkc |
last post by:
Hi,
Does anyone know how to use VB to write a simple MAPI to save email attachments from a specified email address to my hard drive?
What I basically want is that everytime when I receive an email from a particular sender, the MAPI will save the attachment to a particular location on my box automatically.
(I am using outlook 2003)
Thanks.
|
by: shil |
last post by:
Is there any possible way to create an email attachments from an URL
in windows vb.net application? I'm using frame work 2.0,
System.Net.Mail component.
If I attach a file from my file system, that works fine. But I have
to
call a http:// url which retruns a file name. I have to attach that
file to the email.
|
by: =?Utf-8?B?amVhbm9mbWlubmVhcG9saXM=?= |
last post by:
I am having problems opening email attachments when I receive as a Notepad.
I have this problem in AOL or Outlook. When I open I get a box with letters,
symbols and numbers. I have been told as it is a PDF file I need to install
Adobe. I have succesfully installed and still cannot open. I have XP. Does
anyone know what I am doing wrong or how to correct?
|
by: rottmanj |
last post by:
So after a few hours of playing with my config file, I think I have it to a point where I am ready to start adding in the rest of the components to my perl application. One thing that I know I need to do is create a module that connects to an email server and downloads the emails with attachments to my server then delete the emails from the server regardless of if they have an attachment or not.
I have tried playing with Net::POP3 but I am...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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: 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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |