[Tutor] error: (10054, 'Connection reset by peer')

2006-07-09 Thread Grady Henry
, in ?    s.connect()  File "C:\Python24\lib\smtplib.py", line 307, in connect    (code, msg) = self.getreply()  File "C:\Python24\lib\smtplib.py", line 348, in getreply    line = self.file.readline()  File "C:\Python24\lib\socket.py", line 3

[Tutor] How do I get my machine to run an SMTP server?

2006-07-11 Thread Grady Henry
essage, and multiplerecipients may be given.   The email is sent by forwarding to your local SMTP server, which then does thenormal delivery process.  Your local machine must be running an SMTP server.   Traceback (most recent call last):  File "C:\Documents and Settings\User\Desktop\EB2.

[Tutor] Python Programming Books

2006-07-13 Thread Grady Henry
I have three books on Python programming, "Learning Python" by O'Reilly, "Beginning Python" by Hetland, and "Python in a Nutshell" by O'Reilly. Are these good (recommended) books? Any others that might be recommended? ___ Tutor maillist - Tutor@p

[Tutor] error: (10054, 'Connection reset by peer')

2006-07-15 Thread Grady Henry
   line = self.file.readline()  File "C:\Python24\lib\socket.py", line 340, in readline    data = "">error: (10054, 'Connection reset by peer')   Anybody have any suggestions?   Grady Henry ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] So close! But ... error: (10054, 'Connection reset by peer')

2006-07-16 Thread Grady Henry
I think that I am so close to getting this simple program to run correctly:   # Import smtplib for the actual sending functionimport smtplib   # Import the email modules we'll needfrom email.MIMEText import MIMEText   # Open a plain text file for reading.  For this example, assume that# the

[Tutor] This will run on Outlook but not Outlook Express

2006-08-05 Thread Grady Henry
The following script will run on Microsoft Outlook but not on Outlook Express:   from win32com.client import Dispatchs=Dispatch("Mapi.Session")s.Logon()newMsg = s.Outbox.Messages.Add("Hi from Python", "Hello")recip = newMsg.Recipients.Add("Greg Hart", "SMTP:[EMAIL PROTECTED]")newMsg.Send()s