473,322 Members | 1,526 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,322 software developers and data experts.

help with imap functions

imap_fetchstructure -- Read the structure of a particular message

a query about this function.....
(from php manual)
Description
object imap_fetchstructure ( resource imap_stream, int msg_number [, int
options])
This function fetches all the structured information for a given message.
The optional flags parameter only has a single option, FT_UID, which tells
the function to treat the msg_number argument as a UID. The returned object
includes the envelope, internal date, size, flags and body structure along
with a similar object for each mime attachement. The structure of the
returned objects is as follows:

so if i call imap_fetchstructure($imapstream, $msgNum, FT_UID)

it will treat $msgNum as a messageID?? yes or no and if no then how do i get
this to work.

"The optional flags parameter only has a single option". to be hoonest i do
not understand this optonal flags section.

many thnaks

Greg BRant
Jul 16 '05 #1
0 1749

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

Similar topics

1
by: Mark | last post by:
I'm looking for a set of php scripts that can read an nntp server, pull all the posts from a newsgroup (text only, no images) and convert them to html pages. Perfect example is :...
4
by: Marko | last post by:
Hi, I was just wondering if there is a way to connect to the secure imap server (port 993) without having --with-imap-ssl option turned on. I have --with-imap and --with-openssl and recompiling...
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...
0
by: Dafella | last post by:
The following is code from Xeoport. It is suppose to access my pop3 account and load email into Mysql database. It's not inserting and there is no log or anything to tell me why. Here is the...
1
by: vardhansasi | last post by:
hai...I m a newbie to linux... and i m working on a module where i have to 1. Install a MTA 2. Send and access received mails using PHP The first part is over...Installed QMail and its working...
1
by: Fabian Müller | last post by:
Hello, I would like to access (open) my remote IMAP Mailbox with the imap_open() function in PHP Version 5.0.4. The Mailbox is located at the german provider freenet.de. The imap_open()...
1
by: Trevor | last post by:
In the PHP manual (http://us3.php.net/imap) it reads: >LIX. IMAP, POP3 and NNTP Functions >Introduction > >These functions are not limited to the IMAP protocol, despite their name. The...
1
by: hardik | last post by:
hi friends, I am hardik,i am doing a project which is subject for us in our last sem. my project is about web hosting. now i need your help in mail section.can anyone tell me how i can...
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...
1
by: ghe | last post by:
Good day to all, Does anyone here have any experience using the IMAP functions of PHP? Using those functions, can I make a script/s that can handle incoming mails in my website? Do you know any...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.