[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 - Extract attachments

Extract attachments

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

Extract attachments

Postby haito » Sun Nov 26, 2006 9:41 pm

hi!

is there a way to extract only one type of attachment (for example *.doc files) and save into a directory? the other file types may left encoded inside the message.

thanks

haito

ps. sorry for my weak english :)
haito
New Arrival
 
Posts: 2
Joined: Sun Nov 26, 2006 9:29 pm

Re: Extract attachments

Postby Eric » Mon Nov 27, 2006 4:25 am

Hi haito & welcome to Poco Forums, :)
haito wrote:is there a way to extract only one type of attachment (for example *.doc files) and save into a directory? the other file types may left encoded inside the message.
Maybe it would be possible through a script, but only an expert on scripts can answer that question. :?
ps. sorry for my weak english :)
No problem, it's understandable. :)


P.S.: Moving your question from PocoMail to the Scripts section. :wink:
Eric
 

Postby haito » Wed Nov 29, 2006 12:09 am

hi Eric and thanks for the quick answer. maybe someone... :)
haito
New Arrival
 
Posts: 2
Joined: Sun Nov 26, 2006 9:29 pm

Postby Eric » Wed Nov 29, 2006 12:13 am

You're welcome haito. :wink:
Eric
 

Postby Michael » Wed Nov 29, 2006 2:57 pm

I don't think the scripting language has commands to extract attachments that are left encoded in the message. :cry:

I have Barca decode attachments on receiving the message so I have not had to face this issue when scripting.
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 3 guests

cron