Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to send attachment by use MAPI ?
Message
De
21/11/2001 02:32:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
20/11/2001 23:45:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00584315
Message ID:
00584337
Vues:
27
>Hi,
> Do anyone got sample for how to use MAPI to send an attachment files ?
> I success to send out and email by that is only got mail message.
> What MAPI property i need to consider ?
> Anyone got sample code for this ?
> I wish to automate to send email by MAPI, and is it posible i can automate to dialup into the internet before automate send email ? How to do it ?
> Thanks..
>
>kengwen
Chang,
*aAttachList[n] && Is an array holding attachment path&filenames
with MSMMessControl
IF aAttachList[1] = "C"
  FOR ix = 1 to alen(aAttachList,1)
    IF file(aAttachList[ix])
	IF .AttachmentCount > 0
	   .AttachmentIndex = .AttachmentIndex + 1
	ENDIF
	.AttachmentPathName = aAttachList[ix]
    ENDIF
  ENDFOR
ENDIF
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform