Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 9 of 9

Thread: mailto question

  1. #1
    Join Date
    Jun 2003
    Posts
    49

    mailto question

    not to sound newbieish but how would one implement the mailto command for an email link?

  2. #2
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244

    Re: mailto question

    Hi

    Use File.Open and insert the mailto:address@.com as the file to open.
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

  3. #3
    Join Date
    Jun 2003
    Location
    Dublin, Ireland
    Posts
    87

    Re: mailto question

    If you really want to add functionality try
    file.open mailto:address@domain.com?Subject = Test subject line

    It automatically opens an email with an automatic subject line and the user only has to type in their mesasge. I use this so the user can guage how many people send in emails from the CD rom (See how successful the CD is....)

    I actually have an add on question though, I can't figure out how to add a body to the message with line breaks to separate the info (For example sending responses from edit fields....) If anyone has any suggestions I would appreciate it. Or if the email will automatically attach the text file that I know how to write the details to....
    If you can read this, i have yet to write a witty and imaginative signature.... sorry...

  4. #4
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014

    Re: mailto question

    File Open:
    mailto:whomitmayconcern@hotmail.com?Subject=whatev er%20&Body=%Yourinformation%%0D%0A%moreinforma tion%%0D%0A%evenmoreinformation%
    The %information% would of course be from your Variables. This should work for ya! Any one else see a mess-up here let me know. :-)

  5. #5
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728

    Re: mailto question

    Good one, Bruce. %0D% and %0A% translate to carriage return and line feed. They're the ASCII codes for those characters, in hexadecimal format.

    0D = 13 decimal
    0A = 10 decimal
    --[[ Indigo Rose Software Developer ]]

  6. #6
    Join Date
    Jun 2003
    Location
    Dublin, Ireland
    Posts
    87

    Re: mailto question

    You people!

    Gods among mere mortals!!!!

    Also managed to figure out that the switch is %0D for a return alone (without a % on the other side) and I don't need the %0A if I want to have a piece of specific text rather than a variable.

    You guys!!!! OUTSTANDING! How did the world survive without this program and you people?!?!?!
    If you can read this, i have yet to write a witty and imaginative signature.... sorry...

  7. #7
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728

    Re: mailto question

    Oops, yeah that was a brain fart in my post...too used to writing the trailing % sign for variables. [img]/ubbthreads/images/icons/smile.gif[/img] It definitely should only be %0D and %0A, not %0D% or %0A% as I incorrectly wrote above.

    Kudos for figuring that out, CelticDragon.
    --[[ Indigo Rose Software Developer ]]

  8. #8
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160

    Re: mailto question

    go banana, go banana . . . .
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

  9. #9
    Join Date
    Jun 2001
    Location
    California
    Posts
    2,014

    Re: mailto question

    LOL I only GO because of you Tigg! Thx buddy!

Posting Permissions

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