Thanks
Iain
TurboMail[1][2] has worked very well for me.
[1]: http://cheeseshop.python.org/pypi/TurboMail
[2]: http://www.topfloor.ca/turbomail/documentation/reference/
--
Lee McFadden
blog: http://www.splee.co.uk
work: http://fireflisystems.com
skype: fireflisystems
Thanks again Lee!
Iain
The docs there give the config options, but don't tell me where to put
them! I don't know if these go in my gears config ( though putting them
in dev.cfg is causing errors ) or if there is another config file hiding
somewhere, or if I need to make one. Any tips?
Thanks
Iain
>
Ok, I got it going, but don't seem to be actually making mail happen. If
I put my home emails mail server in the server config line, should that
mean that I can send out email through my regular email connection or
will I need a mail server on my dev box to do so?
Thanks
Iain
Thanks for the tip. Yup, I need to send from my actual account name or
the isp blocks it.
Iain
>> TurboMail[1][2] has worked very well for me.
>>
>> [1]: http://cheeseshop.python.org/pypi/TurboMail
>> [2]: http://www.topfloor.ca/turbomail/documentation/reference/
>
> The docs there give the config options, but don't tell me where to
> put them! I don't know if these go in my gears config ( though
> putting them in dev.cfg is causing errors ) or if there is another
> config file hiding somewhere, or if I need to make one. Any tips?
The configuration options can go in your dev.cfg, prod.cfg, or
project/config/app.cfg, and can even be split between them, e.g.
having the .server, .username, and .password entries in dev.cfg and
prod.cfg, and everything else in app.cfg. At a bare minimum
TurboMail requires:
mail.on = True
mail.server = "mail.server.tld"
If your e-mail server requires authentication, add the following:
mail.username = "myuser"
mail.password = 'mypass'
> Ok, I got it going, but don't seem to be actually making mail
> happen. If I put my home emails mail server in the server config
> line, should that mean that I can send out email through my regular
> email connection or will I need a mail server on my dev box to do so?
If you know that your e-mail server does not support TLS
(encryption), then add the following line to disable automatic testing:
mail.tls = False
Additional information can be displayed by enabling mail.debug which
may help track down any problems.
For my testing (dev.cfg) I use our primary (company-wide) mail
server. It is outside our network, allows TLS, and requires
authentication. In the production environment for our projects
(prod.cfg) the mail server is 'localhost', but the other requirements
are the same - TLS and authentication.
If you are on a standard SOHO or non-commercial internet connection,
outbound requests on port 25 (SMTP) may be blocked. To get around
this many mail servers run on both port 25 and port 2500. Simply add
a colon and the port number after the server name. E.g.:
mail.server = "mail.server.tld:2500"
Have a great day,
Matthew Bevan, Systems Administrator
Top Floor Computer Systems Ltd.