I faced the same problem using the email client. There's a procedure recommended in the Development Guide, p13 which puts the file path in a variable and invokes that in both the save records scrpt step and the email dialog. It works perfectly, but it's not clear why putting the same information into the email form doesn't. I've not used the SMTP route but I think it should work. Good luck.