Ok - I think I got this all working - trick is to use stunnel to make
it so you can use Google's smtp server, which requires an SSL
connection.
props to
http://www.projectpier.org/node/817 for the related guide I
got this working from.
1. Install stunnel from
http://www.stunnel.org/download/
2. Configure stunnel's stunnel.conf
Here is my stunnel.conf:
cert = stunnel.pem
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 7
output = stunnel.log
client = yes
[smtpg]
accept =
127.0.0.1:25
connect =
smtp.gmail.com:465
;or connect =
72.14.215.109:465 so there's no DNS lookup
3. Run stunnel from the Start Menu - the "run stunnel" shortcut
4. Run the dev server like this:
google_appengine\dev_appserver.py --smtp_host=localhost --
smtp_user=<your gmail> --smtp_password=<your gmail password> <your
app>
working mail in the test environment :)