mailto question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • thesven
    Forum Member
    • Jun 2003
    • 49

    mailto question

    not to sound newbieish but how would one implement the mailto command for an email link?
  • Derek
    Indigo Rose Customer
    • May 2001
    • 1254

    #2
    Re: mailto question

    Hi

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

    Comment

    • CelticDragon
      Indigo Rose Customer
      • Jun 2003
      • 87

      #3
      Re: mailto question

      If you really want to add functionality try
      file.open mailto:[email protected]?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...

      Comment

      • Bruce
        Indigo Rose Customer
        • Jun 2001
        • 2133

        #4
        Re: mailto question

        File Open:
        mailto:[email protected]?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. :-)

        Comment

        • Lorne
          Indigo Rose Staff Member
          • Feb 2001
          • 2729

          #5
          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 ]]

          Comment

          • CelticDragon
            Indigo Rose Customer
            • Jun 2003
            • 87

            #6
            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...

            Comment

            • Lorne
              Indigo Rose Staff Member
              • Feb 2001
              • 2729

              #7
              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 ]]

              Comment

              • TJ_Tigger
                Indigo Rose Customer
                • Sep 2002
                • 3159

                #8
                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

                Comment

                • Bruce
                  Indigo Rose Customer
                  • Jun 2001
                  • 2133

                  #9
                  Re: mailto question

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

                  Comment

                  Working...
                  X