Eduardo Vieira wrote:
Hello, I'm making a script that daily grabs some information and email it to some of my coworkers. It runs all the other parts while I'm logged off, but this part doesn't. I need to be logged on for it to work. Also, when I'm logged on to my Windows XP I just can't make it send. It only sits in my mailbox. I have to manually press "send" to get it sent.here is the code that won't work: import win32com.client try: s = win32com.client.Dispatch("Mapi.Session")
Hmmm... I normally send mail with the smtplib module. There're plenty of examples out there. Maybe you'll have better luck with that.
Emile _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
