[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 - Adding Attachments

Adding Attachments

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

Adding Attachments

Postby sokoyu » Wed Jun 22, 2005 5:59 am

There is lots of good stuff here about renaming and stripping attachments on incoming mail, but I can't find any information on adding attachments to outgoing mail. I'm using a script to send messages to about 150 people and this month I'd like to add a PDF attachment - I could do it manually, but life is too short. Any ideas you good folks out in Pocoland?
sokoyu
Drop-in Visitor
 
Posts: 11
Joined: Tue Aug 31, 2004 8:18 am

Postby Michael » Wed Jun 22, 2005 6:18 pm

Use the AttachFile command for this, e.g.,

Code: Select all
AttachFile %message "C:/My Documents/test.pdf"


Note, this is off the top of my head, I have not tested 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 2 guests

cron