[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Poco Forums • View topic - About request specific message

About request specific message

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

About request specific message

Postby Sapiem » Sun Aug 06, 2006 3:06 am

Any body know how can we open each message one by one from specific forlder...?

How I can pass one by one message to %message

Thanks

Sapiem
Sapiem
Drop-in Visitor
 
Posts: 13
Joined: Mon May 29, 2006 10:01 am

Postby MarkB » Sun Aug 06, 2006 11:13 am

It's automatic. Try selecting some messages and then running this little test script.
Code: Select all
ReadHeader $t "Subject:" %message
MessageBox $t

You'll see one dialog box for each selected message.
MarkB
Poco Enthusiast
 
Posts: 217
Joined: Mon Aug 09, 2004 1:31 am
Location: Canada

Postby MarkB » Sun Aug 06, 2006 12:48 pm

To clarify: any script will run once for each selected message.
MarkB
Poco Enthusiast
 
Posts: 217
Joined: Mon Aug 09, 2004 1:31 am
Location: Canada

Postby Sandy » Mon Aug 07, 2006 6:38 am

I think the OP was asking if there is a way to write a script that cycles thru all msgs in a specific mailbox. AFAIK, there is no way to do that. You have to select msgs in advance of the script running. This can be done in automatic ways such as asking Poco to run a script on all incoming msgs, or some other event, but you can't cycle thru an arbitrary set of msgs like a regular program could cycle thru all records in a file for example.
Sandy
 

About each msg one by one

Postby Sapiem » Mon Aug 07, 2006 8:24 am

Thats exactly I mean, Just use each message one by one on an especific folder, by script, without I select manually the messages. I think that Poco Team must introduce one command to do that in newers version, because It can chanche about 100% the script development, don't think that...?

Sapiem
Sapiem
Drop-in Visitor
 
Posts: 13
Joined: Mon May 29, 2006 10:01 am


Return to PocoScript Help and How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron