Also, you can use the python debug smtp server which prints all
messages to stdout.  From the command line just type:

python -m smtpd -n -c DebuggingServer localhost:1025

And you'll be able to send mail to localhost, port 1025.

--matt

On Sun, Jul 10, 2011 at 6:08 PM, Ronan Amicel <[email protected]> wrote:
> Hello Vincent,
>
> On Sun, Jul 10, 2011 at 20:03, Vincent Catalano
> <[email protected]> wrote:
>> I am attempting to setup a lost password email configuration in Pylons. I
>> want to be able to test the emails in my development environment as well as
>> have a working email system in production. So I have two questions:
>> 1. What is the best way to send emails from within Pylons
>
> I like TurboMail: http://pypi.python.org/pypi/TurboMail
>
> You can define different parameters for development and production in
> your paster INI files.
>
>
>> 2. What is the best way to configure a local test email server (or best
>> option that Paster offers for dealing with emails)
>
> It depends on your development OS.
>
> If you're using Debian/Ubuntu, it's as simple as 'sudo apt-get install 
> postfix'.
>
> Regards,
>
> --
> Ronan Amicel
> http://topixtream.com/
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to