[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 - Delete Message From Server?

Delete Message From Server?

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

Delete Message From Server?

Postby dblayout » Fri Aug 06, 2004 4:15 am

I have an email account where I leave the email on the server. I run a script against all incoming emails. If the sending email is from somone in my address book, I keep it (and it stays on the server). If the email is from someone NOT in my address book, the script moves the email to my Junk folder and the email stays on the server.

What I would like to do is if the email is moved to the junk folder, I would like to delete it from the server also.

Can this be done using PocoScript?

Thanks
dblayout
Poco Tourist
 
Posts: 46
Joined: Fri Aug 06, 2004 4:11 am
Location: Dallas, TX

Postby Michael » Fri Aug 06, 2004 9:27 am

I haven't tried this myself but you might consider adding a DeleteMessage command to the script. Be sure to test this thoroughly before committing to it.
Michael
Moderator
 
Posts: 866
Joined: Mon Jul 26, 2004 12:14 pm
Location: Victoria BC, Canada


Return to PocoScript Help and How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron