Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Location
    Washington DC Area
    Posts
    73

    File.OpenEmail and attachments

    I understand that File.OpenEmail will open the system's default mail app and insert the address provided.

    Is there a clever way to also automatically include an attachment also?

    Specifically, I'm working with Outlook 2002+ and I'd like to have it pop up a new message, already addressed, and with my file attached all ready for the send button

    *curse spammers!
    My too cool version of the same thing using Blat fails too often because you can't use port 25 without a blood sample and a note from your mother any more...

  2. #2
    Join Date
    Apr 2004
    Posts
    20

    Well... I Found what you need...

    Hi,
    There is no build in function to do that, so I tried to open Outlook 2002 from the command line and send argument to it with attachment.
    I didn't test it on Outlook 2002 but it should work fine.

    "C:\Program Files\Microsoft Office\Office11\Outlook.exe." /a c:\test\1.jpg
    now you can run it from Autoplay and send the path as argument.

    You can read more about Outlook Switches


    David.
    Last edited by zzzs; 04-30-2004 at 12:24 PM.

  3. #3
    Join Date
    Apr 2004
    Posts
    20

    Here is Example

    put it in your button,

    Shell.Execute("Outlook.exe", "open", "/a c:\\test\\1.jpg", "C:\\Program Files\\Microsoft Office\\Office11\\", SW_SHOWNORMAL);

  4. #4
    Join Date
    Feb 2004
    Location
    Washington DC Area
    Posts
    73
    Cool

    I'll look into this.

    Thanks a bunch!

Similar Threads

  1. Email attachments?
    By dulux1309 in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 03-02-2004, 01:28 PM
  2. Sending image attachments by email
    By Corey in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 07-02-2003, 09:19 AM
  3. File Attachments Disabled
    By Colin in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 12-06-2002, 02:28 PM
  4. Attachments for topics
    By HayoOellrich in forum Setup Factory 6.0
    Replies: 1
    Last Post: 04-10-2002, 08:50 AM
  5. Email attachments from a command line
    By Todd in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 12-13-2000, 09:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts