[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 - Attachments using script

Attachments using script

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

Attachments using script

Postby FieldDir121 » Mon Feb 13, 2006 4:55 pm

All,

Does anyone know of a way to attach a file to a message using a script? Looking through the commands [in version 3.4] it doesn't appear there is a command specifically for that. Descriptions of a few commands indicate it might be possible indirectly.

Scott
FieldDir121
Resident Poster
 
Posts: 149
Joined: Mon Aug 02, 2004 5:18 pm

Postby Eric » Mon Feb 13, 2006 9:45 pm

:?: Maybe this script Reattaching attachments to messages is the one you're looking for Scott.
Eric
 

Postby FieldDir121 » Tue Feb 14, 2006 5:43 am

Eric,

The solution is to use the "AttachFile" command as Framzi did.

I looked through the Pocoscript reference several times and missed this command each time.

Thanks.

Scott
FieldDir121
Resident Poster
 
Posts: 149
Joined: Mon Aug 02, 2004 5:18 pm

Postby Eric » Tue Feb 14, 2006 7:43 am

My pleasure Scott.
Glad you found it by looking through frazmi's script. :)
Eric
 


Return to PocoScript Help and How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron