I've tried this and spent a few hours trying to find another method for this. It seems it keeps messing up in debug mode, it was working fine for me a week ago? Am I the only one having issues with gmail, my own hotmail template is working fine. It seems that I can not use the same method....