Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send attachment by use MAPI ?
Message
From
21/11/2001 02:32:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
20/11/2001 23:45:08
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00584315
Message ID:
00584337
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform