Excellent imput!
I learned
- no need for trailing . and i was doing it wrong anyway.
- all those extra trys were redundant.
- the trailing comma functionality in print.
- the extra ehlo is an rfc req.
Thanks all.
-dave
--
http://mail.python.org/mailman/listinfo/python-list
On 24/01/07, py [EMAIL PROTECTED] wrote:
I would love for anybody to comment on this code with regard to
redundancy/efficiency/wordiness or whatever else.
for instance, do i understand correctly that i cant have a try: else: without
an intervening except:?
-dave
On 1/24/07, Tim Williams [EMAIL PROTECTED] wrote:
On 24/01/07, py [EMAIL PROTECTED] wrote:
I would love for anybody to comment on this code with regard to
redundancy/efficiency/wordiness or whatever else.
for instance, do i understand correctly that i cant have a try: else:
without an
On 24/01/07, BJ Swope [EMAIL PROTECTED] wrote:
On 1/24/07, Tim Williams [EMAIL PROTECTED] wrote:
On 24/01/07, py [EMAIL PROTECTED] wrote:
I would love for anybody to comment on this code with regard to
redundancy/efficiency/wordiness or whatever else.
for instance, do i understand
Sweet!
--
http://mail.python.org/mailman/listinfo/python-list
At Wednesday 24/1/2007 09:12, BJ Swope wrote:
Both examples have included the cardinal sin in smtp...
They both send the message text followed by new line dot new line.
The smtp protocol specifically mentions CRLF dot CRLF. Please
please please use \r\n.\r\n in your code...
No. The SMTP
I would love for anybody to comment on this code with regard to
redundancy/efficiency/wordiness or whatever else.
for instance, do i understand correctly that i cant have a try: else: without
an intervening except:?
-dave
stdout.write(calling smtp server...)
try: