you dont need to put this code anywhere. 
what it means is that if you want to send mails over smtp on the dev_server you 
start it with:

dev_appserver.py --smtp_host=smtp.example.com --smtp_port=25 
--smtp_user=ajohnson --smtp_password=k1tt3ns myapp

in your terminal.

On Mar 7, 2012, at 10:14 PM, Paco Paco wrote:

> I found this, but not sure where should I put the code
> 
> To enable mail support with an SMTP server, use the --smtp_host, --
> smtp_port, --smtp_user and --smtp_password options with the
> appropriate values.
> dev_appserver.py --smtp_host=smtp.example.com --smtp_port=25 \
>    --smtp_user=ajohnson --smtp_password=k1tt3ns myapp
> To enable mail support with Sendmail, use the --enable_sendmail
> option. The web server will use the sendmail command to send email
> messages, with your installation's default configuration.
> dev_appserver.py --enable_sendmail myapp
> If mail is not enabled with either SMTP or Sendmail, then attempts to
> send email from the application will do nothing, and appear successful
> in the application.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to