To test things out, I used the default mail server provided by the
Registration module, using the same SMTP server as above, but with the
preferred port, and it works. If I use port 25, it also fails.
Any one know if there is a way to specify the port, or do I have to
get the source?
I placed the configuration parameters in app.cfg, as follows:
mail.on = True
mail.server = "mail.messagingengine.com"
mail.username = "user...@fastmail.us"
mail.password = "<<password here>>"
mail.debug = True
mail.tls = True
As you can see, I'm using fastmail for my SMTP server. I place the
correct username/password in the parameters, but I get the error 113:
can't connect to host.
I can ping this host just fine. Fastmail supports port 25, but
prefers port 587; this should work.
Does anyone have an idea about TurboMail?
By the way, my development system is Xubuntu 7.04 (Gutsy whatever)
with TurboGears 1.0.0.2
Ports are usually specified along with the host name: my.email.server:587
should use port 587 on my.email.server.
> I can ping this host just fine. Fastmail supports port 25, but
> prefers port 587; this should work.
So it works with both? OR 25 is for unauthenticated access (i.e. final
delivery, no relay) and 587 is for relaying messages for authenticated users?
--
Jorge Godoy <jgo...@gmail.com>
You must and can specify a port of course.
see my mail config:
mail.on=True
mail.server="vishnu:7725"
mail.encoding="utf-8"
That's all.