Agent Help

Hi All.

I need to create an agent that forwards an email from box A which contains a .doc extension into box B. I am using the following example, but it is not sending the attachment over. Please help!

@If ($File = “.doc”) ;

@MailSend( “Mailfile name” ; “” ; “” ; subject ; “” ; $file );

SELECT @All

Thanks : )

Subject: Agent Help

$File = ".doc"Implies the filename is “.doc”.

Should probably be @contains($File; “.doc”)

I should think you could use a simple action such as “send a mail message” with “include copy of document” checked instead of the @mailsend.