473,608 Members | 2,457 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IMAP BODYSTRUCTURE format & the email.Messages

[Apologies for the cross-post].

Does anyone know of existing code to convert/format/flatten an email.Message
into the correct format for IMAP's BODYSTRUCTURE request? (it basically
breaks down all the MIME parts of the message). It can use twisted or
imaplib, or neither, I don't care.

Thanks,
Tony Meyer
Jul 18 '05 #1
0 2026

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

Similar topics

3
4383
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 a possiblity to use imap_body and give the name of the file as a parameter. Thanks in advance.
0
1921
by: Alexander Schumann | last post by:
Hello everyone, We are building a new web based e-mail client "Fiezel" that will support IMAP, POP3 and SMTP protocols. Will be written in php4. I am trying to collect all the infomation on SNMP I can get and any other protocols like POP3 infomation for desinging and developing for php4. I have also collected the infomation wish I will try to support: RFC2821: Simple Mail Transfer Protocol (SMTP) RFC2822: Standard for ARPA internet...
5
4613
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 EXE files and delete all those mails on the server. This would save me a lot of traffic over my phone line connection. But I'm missing one important thing: How do I get the server to tell me about attachments.
4
9748
by: elyob | last post by:
Hi, I'm looking to setup an email system that will log into a catchall account, read to addresses and forward them to a different email address stored in a MySQL table. I may also allow the users to store these emails in their own accounts at a future date. I've got the IMAP checking etc etc working just fine. However this will be more troublesome if someone includes an attachment. Firstly, the imap_body($mbox,$num) chucks out loads of...
0
982
by: Laszlo Nagy | last post by:
Dear List, I'm trying to figure out, how to change the header of an e-mail that is accessed by an IMAP object. There is some code below (not a complete program). The key function is the filter_mail function. It should move/delete/change/export messages, based on their header. For exporting messages, I use this: "typ,dat = self.conn.uid('FETCH',self.uid,'(RFC822)') ". The only thing I don't know how to do, is to insert/modify/delete...
2
2842
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 (immediately) to the sender. Is there any way that I can use the php IMAP functions on either the php://stdin stream (the means through which the email is piped as raw text) or on a plain string? If not, are there any recommendations for what I can...
0
816
by: ppp86 | last post by:
Hey, I am writing small library to IMAP protocol. I wonder how to receive e-mails without attachments? I was reading it http://www.bobpeers.com/technical/telnet_imap and chapter in RFC about FETCH Command. But I can receive emails only with attachments or only with plain text. I have seen packages from thunderbird. They receive BODYSTRUCTURE and then they fetch useful part with part specifiers(1.1.MIME etc). Unfortunatelly I dont...
4
11767
by: gregpinero | last post by:
I'm trying to get a list of messages from GMAIL using it's new IMAP access. So far I've tried running this command but it just hangs. Any ideas? I figured that's the first line to run from this example: http://docs.python.org/lib/imap4-example.html Here are the configuration settings GMAIL says to use:
1
2904
by: CodeSeeker | last post by:
I have an application, which uses pop3 to read the messages from the mailbox, and it has been working fine for so many year. We recently have started changing this application to use java mail IMAP 4 instead of Pop3. Primary reason for that :- Is we want to better meet out SLA, so we have decided to go with the 2 instances of this application, and hence decided to use IMAP4 to concurrently accessing the mailboxes via IMAP4. My issues:- Now...
0
8495
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, 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...
1
8145
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,...
0
8330
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 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...
0
6815
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, 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...
1
6011
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 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...
0
5475
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();...
1
2474
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
1
1589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1328
bsmnconsultancy
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...

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.