Re: [PATCH 1/1] Support configurable SMTP port for stg mail.
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- Jul 21, 2005, 20:55 UTC
- Message-ID
- <1121979346.7654.3.camel@localhost.localdomain>
- In-Reply-To
- <20050721202058.8047.77221.stgit@h164.c77.b0.tor.eicat.ca>
On Thu, 2005-07-21 at 16:20 -0400, Bryan larsen wrote:
> The example configuration file makes it appear that the SMTP port is configurable. Make it so.
The documentation for smtplib.SMTP says that the smtpserver parameter is passed to connect(). This latter function parses the smtpserver for 'server:port' like strings and does the right thing. I tried it with Python 2.3 and it seems to work fine without this patch.
Thanks anyway.
-- Catalin