[Collaboration Data Objects - [MAPI_E_NOT_FOUND(8004010F)]]
/marktplatz.tools/sms/index.asp, line 35
Und der Quelltext:
<%
Sub MAIL
Dim objsession,
strmailbox, strserver, strprofilestring, objnewmessage, objrecipients,
objattachment
strmailbox = "NAME"
strserver = "SERVER"
strprofilestring
= strserver & vbLf & strmailbox
'Set objsession =
Server.CreateObject("mapi.session")
Set objsession =
CreateObject("mapi.session")
objsession.Logon "", "", False, True, 0,True ,
strprofilestring
Set objnewmessage = objsession.Outbox.Messages.Add
With objnewmessage
.Subject =
"Testmitteilung"
.Text = "Dies ist eine Testmitteilung!"
.Importance = CdoHigh
.Update
End With
Set objrecipients = objnewmessage.Recipients.Add
With objrecipients
.Name =
"[MRS:SMS/01719999999]"
.Type = CdoTo
.Resolve
End
With
objnewmessage.Update
Set objattachment = objnewmessage.Attachments.Add
With objattachment
.Name =
"Dateianhang"
.Position = 0
.Type = CdoFileData
.Source =
"C:\protokolle.gif"
End With
objnewmessage.Update
objnewmessage.Send
objsession.Logoff
End sub
%>
...was auch in Outlook 2000 einwandfrei
funktioniert...
Nur in ASP ist wohl was
anderes?
MfG
Uwe M�nch
T-Systems Nova GmbH
Entwicklungszentrum Darmstadt
EP 7
PVU/eBusiness
Salzachstr. 4.12
68199 Mannheim
Tel: (06 21) 84 56 - 3 54
Fax: (0 71 61) 15 67 - 02 88
