title image


Smiley Re: MAPISendMail und Outlook
Laut API-Viewer würde der Aufruf so aussehen:



also der Type MapiMessage ist abweichend deklariert, die Function ebenfalls..



Teste es doch mal aus, bei mir hat's so auf einem XP-Client gegen OL2K funktioniert.



Private Type MAPIMessage

Reserved As Long

Subject As String

NoteText As String

MessageType As String

DateReceived As String

ConversationID As String

Flags As Long

RecipCount As Long

FileCount As Long

End Type



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 MapiRecip

Reserved As Long

RecipClass As Long

Name As String

Address As String

EIDSize As Long

EntryID As String

End Type





Private Declare Function MAPISendMail Lib "MAPI32.dll" Alias "BMAPISendMail" _

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

ByRef Recipient() As MapiRecip, ByRef File() As MapiFile, ByVal Flags As Long, _

ByVal Reserved As Long) As Long




mfg Mike

Snafu



geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: