Pages: 1
RSS
Trouble with Attachment macros, Unable to attach files with %ATTACHMENTS macro
 
The Bat Version:    3.0 Professional Edition

I've been trying to create a mailing list that allows attachments bu have been unable to get the attachment macros to work.  According to the help the %ATTACHMENTS macro should insert whatever attachments were in the original file.  I have yet to see this work.

I have even tried:

%ATTACHFILE="%ATTACHMENTS"

Can you tell me what I might be doing wrong?
I've attached the exact text I'm using below:

Code
%TEXT
%ATTACHFILE="%ATTACHMENTS"
-- 
***************************************************
Report problems to: <mailto:Moderator@aa.com>
Check the JokeList FAQ: <http://www.aa.com/FAQ>
To unsubscribe, click here:
<mailto:list@aa.com?subject=Unsubscribe>
***************************************************
%TO=""
%REPLYTO=""
%FROM=""
%TO="%OTONAME <list@aa.com>"
%REPLYTO="%OFROMNAME <list@aa.com>"
%FROM="%OFROMNAME <%OFROMADDR>"
%BCC="Subscribed <List>"
%SUBJECT="Joke: %OFULLSUBJECT"
%RETURNPATH=""
%RETURNPATH="Moderator@aa.com"
 
%ATTACHFILE="filepath"
attach a file determined by the filepath

but
%ATTACHMENTS
insert the list of the files attached to the current message (no filepath :!: - only list)

So, it's a problem - you should find another way
 
But you can try to use another actions - for example:"Redirect the message"
 
The only actions that include the sending along of attachments are redirecting and forwarding. As you'd like to manipulate the message a bit, I'd suggest forwarding as a filter action, since that enables you to set a template.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Quote

%ATTACHFILE="filepath"
attach a file determined by the filepath

The %ATTACHFILE="%ATTACHMENTS" didn't seem right given the documentation.  I was drawing at straws at this point, primarily since the %ATTACHMENTS command was supposed to do the trick.  It did not do anything tho??

Quote

The only actions that include the sending along of attachments are redirecting and forwarding. As you'd like to manipulate the message a bit, I'd suggest forwarding as a filter action, since that enables you to set a template.

I'll give this a shot.  Thanks for your help :)  
Pages: 1