Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MAILTO: command line parameter for attachment
Message
From
25/05/2001 06:04:54
 
 
To
24/05/2001 19:01:43
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00510630
Message ID:
00511387
Views:
22
Hi!

MAPI.MAIL and MAPI.Message are not OLE Automation of Outlook Exchange. THese are COM objects that prividedas a wrapper around the Outlook Exchange and Outloo forlders. These controls work with the profiles created by Outlook and Outlook Exchange. They do not use automation of these applications, they use the same folders as Outlook and Outlook Express uses. Just look to the help for these objects. You can find help for these objects looking for CDO (Collaboration Data Objects), first versions of these objects (1.0 and 1.1) are called 'Active Messaging' and installed with default Internet/Microsoft mail services. These are not also the MAPI ActiveX controls. They're pure COM objects that you can use only by CREATEOBJECT command in run-time.

Java Script have an ability to create COM objects, so I guess you will be able to use these objects through Java Script.

HTH.

>>Hi!
>>
>>MAPI.Session and MAPI.Message (Active Messaging or CDO - Collaboration Data Objects) could be used to prepare the mail message, attachments and use SEND() method. After that, the same window opens, but already with attachments. I guess Excel 2000 uses that way (or even uses the API functions for appropriate DLLs?). Probably, using Java Script yuo can invoke these objects and do the same.
>>
>>I do not know any way to specify attachments in "mailto:" item. Try to post this question to the HTML/DHTML/Java Script forums.
>>
>>HTH.
>>
>>>Hi All,
>>>
>>>I know that I can create a message with the following commadline:
>>>
>>>mailto:..@..?cc=...&bcc=.....&subject=.....&body=..........
>>>
>>>
>>>But how to specify the attachment?
>>>
>>>There must be a way, because Excel2000 somehow can do this to my Outlook Express.
>>>
>>>tia
>>>
>>>bb
>
>It cannot be MAPI object automation, because it is with Outlook Express, that is, according to docs, doesnot "support" automation.
>So, the only thing I can think of is MAILTO:, or ... MAPI32.DLL direct calls.
>
>bb
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform