As mentioned, I have no idea why when using "localhost" it is sending to smtp.gmail.com (this is entirely the mail server btw and not Imagevue). Gmail uses port 587, not 25 ... I would guess that would be related to connection error.
If you have login to your panel I can do some tests if you want ...