Is the email you are sending from a valid address for that domain? If not then gmail is probably not sending using that address as it doesn't comply with the security credentials you supplied.
hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 167
Are you manually logging in to your gmail account between runs of the program?
If so, you could be creating a cache of your credentials that the server is using by default.
Do you have a yahoo account? Can you use the yahoo server to send mail instead of the gmail server?
thines01
Postaholic
2,424 posts since Oct 2009
Reputation Points: 445
Solved Threads: 402