SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast wavman's Avatar
    Join Date
    Jul 2002
    Location
    Isle of Wight
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using mailto to create new email with attachement

    Hi...hopefully someone here can help.

    I'm developing an intranet system for a commercial property agent...and one of the features the system has is to create their pdf property details. They would like to be able to click a link in there intranet that opens up a new outlook message with the appropriate pdf already attached.

    I've found this code on the internet, but I don't quite seem to be able to get it to work...any ideas?

    Code:
    <a href="mailto:someaddress@someone.com?subject=Property Details&attachment="\\servername\sharename\folder\filename.pdf"">
    I just get a popup warning from outlook saying "The command line argument is not valid. Verify the switch you are using"

    Do you think this means the "attachment" or "attach" commands only worked in older versions of outlook and that with 2007 it's not going to work at all? Or is there a different way of acheiving this that anyone knows of?

    Cheers,

    Dan

  2. #2
    SitePoint Addict
    Join Date
    Apr 2007
    Location
    Phoenix, AZ
    Posts
    230
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe this will shed some light - http://office-outlook.com/outlook-fo...=msg&th=99304/
    Joe

  3. #3
    SitePoint Enthusiast wavman's Avatar
    Join Date
    Jul 2002
    Location
    Isle of Wight
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Joe....at least that finds somebody else trying to do the same thing as me! Just unfortunate that he's not had success yet either!

    Have registered on there (am waiting manual activation!) so hopefully we be able to find a solution there.

    Thanks

    Dan

  4. #4
    SitePoint Addict bwdow's Avatar
    Join Date
    Feb 2006
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why do you need such an app.? Lots of people doesn't uses the outlook express or something like that. I know lots of people just uses Gmail.


Bookmarks

Posting Permissions

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