Announcement

Collapse
No announcement yet.

e-mail simple information

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: e-mail simple information

    Does it seem to be your e-mail program or AMS that does not like what you are trying to do. The only thing I saw that might cause troubles in the mailto code were some extra spaces that were not represented by %20. The spaces were around the word Giveaway. I have attached your code with those spaces removed. You may try the attached actions to see if they work any better. If it is your e-mail that is having problems I don't know what to tell ya except take the mailto code and do a Start | Run and past the mailto code into the open dialog box then hit OK to see if the problem still exists. Let me know.

    Tigger

    13395-bruce.zip
    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


    • #17
      Re: e-mail simple information

      Tig-
      It was on my side! It worked even w/ the spaces. I'll use your code just in case. Thank buddy!

      Comment


      • #18
        Re: e-mail simple information


        is it possible to have linebreaks added in a set variable action?
        Yes, in at least two ways.

        Either use the #ASC_CR# and #ASC_LF# design-time constants...set one to 13, then the other to 10, and insert #ASC_CR##ASC_LF# wherever you want a newline.

        Or, and this is about as easy as it gets: Just type it that way in the value field for the Set Value action -- i.e., press the Enter key.

        Requisite example:

        <IR_ACTIONS_LIST>
        <Action name="Set Value">
        <Type>6</Type>
        <Function>0</Function>
        <DTIndentLevel>0</DTIndentLevel>
        <Enabled>1</Enabled>
        <ErrorHandling>
        <UserNotificationMode>2</UserNotificationMode>
        <CustomErrorMessage/>
        <OnErrorAction>0</OnErrorAction>
        <JumpToLabel/>
        </ErrorHandling>
        <Variable>%a%</Variable>
        <Value>Each
        word
        on
        a
        separate
        line</Value>
        <Evaluate>0</Evaluate>
        </Action>
        <Action name="Set Value">
        <Type>6</Type>
        <Function>0</Function>
        <DTIndentLevel>0</DTIndentLevel>
        <Enabled>1</Enabled>
        <ErrorHandling>
        <UserNotificationMode>2</UserNotificationMode>
        <CustomErrorMessage/>
        <OnErrorAction>0</OnErrorAction>
        <JumpToLabel/>
        </ErrorHandling>
        <Variable>%b%</Variable>
        <Value>"
        " + "Can
        also
        be
        done
        in
        an" + "
        expression"</Value>
        <Evaluate>1</Evaluate>
        </Action>
        <Action name="Message Box">
        <Type>5</Type>
        <Function>0</Function>
        <DTIndentLevel>0</DTIndentLevel>
        <Enabled>1</Enabled>
        <ErrorHandling>
        <UserNotificationMode>2</UserNotificationMode>
        <CustomErrorMessage/>
        <OnErrorAction>0</OnErrorAction>
        <JumpToLabel/>
        </ErrorHandling>
        <DialogTitle>Example</DialogTitle>
        <DialogMessage>%a%%b%</DialogMessage>
        <Icon>3</Icon>
        <Variable>%Result%</Variable>
        <DialogType>0</DialogType>
        <DefaultButton>0</DefaultButton>
        </Action>
        </IR_ACTIONS_LIST>
        --[[ Indigo Rose Software Developer ]]

        Comment


        • #19
          Re: e-mail simple information

          Thanks, I was able to figure it out after playing with it. The problem I was running into is AMS will read it like that but when you try to use it in a mailto function it will still try to run the stuff together. even #ASC_CR##ASC_LF will not work, however in shipping it to a mail program I used %0D and %0A to do the linebreaks. That works.
          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


          • #20
            Re: e-mail simple information

            Can you show me? Don't write the whole code, just one line ie
            ?%address%?

            Comment


            • #21
              Re: e-mail simple information

              Here is what I did

              %fulladdress% = Evaluate (%name% + ";;" + %addy1% + ";;" + %addy2% . . .)
              %fulladdress2% = String.Replace ("%fulladdress%",";;","%0D%0A")


              I but all the variable together and did a replace on the ;; with a %0D%0A to get it to work. You could also put the %0D%0a between the variables in the first string. I did it in two steps because I was trying to get it to work a couple of different ways. I hope this helps.

              Tigger
              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

              Working...
              X
              😀
              🥰
              🤢
              😎
              😡
              👍
              👎