>I am trying to get this feature working but it does not seem to actually >do the replacement of the attached file with a url. I had a basic misunderstanding of the logic flow, and had not put a return; immediately after the logic to decide if the "replace" action should occur. Once I put this in, it all works just fine.