Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Buttons.vcx - MailBtn
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00825389
Message ID:
00825811
Views:
23
>Hi Nadya,
>
>Similar to how I parsed for multiple addresses. My app only needed 1 attachment.
>
>
>* Put filenames (include the path) in an array... or whatever lArr()
>FOR lnCount=1 TO ALEN(lArr)
>	this.parent.OleMMess.attachmentposition=lnCount-1
>	this.parent.OleMMess.attachmentpathname=alltrim(lArr(lnCount))
>	* Note that the attachmentpathname includes the filename and extension
>	this.parent.OleMMess.attachmentname=justfname(lArr(lnCount))
>NEXT lnCount
>this.parent.OleMMess.send(1) && 1 to preview, 0 just sends it
>
>
>
Thanks, Mike. Yes, I thought it could be something that simple. Hopefully it would solve Neetu's problem.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform