title image


Smiley Re: MAPISendMail und Outlook
Hallo Mike,



ich glaube ist liegt eher an der Deklaration der Typen, bzw. dem

Funktionsaufruf, ich habe im Netzt schon leicht abweichende

Aufrufe gefunden.

Hier ist der Aufruf, wie ich ihn verwende:







Private Type MAPIRecip

Reserved As Long

RecipClass As Long

name As String

Address As String

EIDSize As Long

EntryID As String

End Type



Private Type MAPIFile

Reserved As Long

flags As Long

Position As Long

PathName As String

FileName As String

FileType As String

End Type



Private Type MAPIMessage

Reserved As Long

Subject As String

NoteText As String

MessageType As String

DateReceived As String

ConversationID As String

Originator As Long

flags As Long

RecipCount As Long

Recipients As Long

FileCount As Long

Files As Long

End Type



Private Const MAPI_LOGON_UI = &H1&

Private Const MAPI_DIALOG = &H8&

Private Const MAPI_NEW_SESSION As Long = &H2&

Private Declare Function MAPISendMail Lib "mapi32.dll" _

(ByVal Session As Long, ByVal UIParam As Long, Message As MAPIMessage, _

ByVal flags As Long, ByVal Reserved As Long) As Long







Gruss Kowalski !

geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: