This may be silly, but I'm having trouble using variables for AttachFile command.
This sends without error, but with no attachment:
localname = "C:\whateverpath\whateverfile.txt"
displayname = "whateverfile.txt"
o.Attachfile localname,displayname
Any help is appreciated.


