
26 Jul
2005
26 Jul
'05
12:19 a.m.
Danke an alle die mir Hinweise gegeben haben, jetzt funktionierts so wie unten angegeben Gruß Rudolf
import win32com.client
s=win32com.client.Dispatch("Mapi.Session") o=win32com.client.Dispatch("Outlook.Application") s.Logon('default')
Msg = o.CreateItem(0) Msg.To="EmpfängerMailadresse" Msg.CC="WeitereAdressaten" Msg.BCC="Mailadresse" Msg.Subject = "Hallo an To Bc und BCC" Msg.Body = "Text der Mail"
Anhang1="Pfad zum Anhang1" Anhang2="Pfad zum Anhang2" Msg.Attachments.Add(Anhang1) Msg.Attachments.Add(Anhang2)
Msg.Send()
_______________________________________________ python-de maillist - python-de@python.net http://python.net/mailman/listinfo/python-de
6455
Age (days ago)
6455
Last active (days ago)
0 comments
1 participants
participants (1)
-
Liberda Rudolf