mailto: In Lisp?

Discussion in 'AutoCAD' started by KEPelton, Aug 6, 2003.

  1. KEPelton

    KEPelton Guest

    Is there a way to create a LISP routine that when run, will open up the e-mail client and address an e-mail to a specified address? Like "mailto:" on webpages.

    Thanks.
    -K
     
    KEPelton, Aug 6, 2003
    #1
  2. KEPelton

    Kevin Nehls Guest

    It's kinda messy, but you can use the browser command:

    (command "browser" "mailto:")

    --
    Kevin Nehls


    e-mail client and address an e-mail to a specified address? Like "mailto:"
    on webpages.
     
    Kevin Nehls, Aug 6, 2003
    #2
  3. KEPelton

    Kevin Nehls Guest

    That's because the browser command opens up your default browser. Then
    sends the mailto link to it and the browser opens up your default mail
    client, lisp or acad doesn't open the mail client.

    Like I said it was messy. I've seen other people post different solutions
    that worked better.
     
    Kevin Nehls, Aug 6, 2003
    #3
  4. KEPelton

    KEPelton Guest

    I'm sorry, but I'm pretty new to this and don't know VBA. I'll keep playing with it unless you have any other suggestions.

    -K
     
    KEPelton, Aug 6, 2003
    #4
  5. KEPelton

    Kevin Nehls Guest

    I meant to also add, like yours ;)
     
    Kevin Nehls, Aug 6, 2003
    #5
  6. KEPelton

    Ed Jobe Guest

    Did you try mine? Although, I call IE, it doesn't get opened, just sends the
    url to the email client. Clean.
     
    Ed Jobe, Aug 6, 2003
    #6
  7. KEPelton

    Ed Jobe Guest

    You don't really need to know vba. Attached is a file on how to get the previous code I gave you to work. See section I. Then add the following line to your acad.lsp file:



    (vl-vbaload "pathToDVB"). Now you can use the code I gave you earlier.




    --
    Ed
    --




    "KEPelton" <> wrote in message news:...

    I'm sorry, but I'm pretty new to this and don't know VBA. I'll keep playing with it unless you have any other suggestions.

    -K
     
    Ed Jobe, Aug 6, 2003
    #7
  8. KEPelton

    Ed Jobe Guest

    How about a button macro?
     
    Ed Jobe, Aug 6, 2003
    #8
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.