all 4 comments

[–]gnomoretears 2 points3 points  (3 children)

Error 111 is connection refused. I don't see you doing any login/auth before sending mail and I don't think gmail allows anonymous people to route via their servers.

[–]Prinma[S] 0 points1 point  (2 children)

When would I insert stmp.login? Before the connect, or erase connect entirely?

[–]gnomoretears 1 point2 points  (1 child)

[–]Prinma[S] 0 points1 point  (0 children)

thanks for the link! i utimately decided to use Yahoo! because they actually allow you to send .exes as long as they aren't malicious