Send mail only works once in a loop!

Hi,
I'm using the function 'SO_DOCUMENT_SEND_API1' to send an email with a pdf attachment.
I'm looping through a list of employees and for each employee sending a mail, this works for the first iteration and runs through the code successfully for the next but never sends the second mail.
I don't get any errors just no e-mail.
Rob

Actually, there is.
  WAIT UP TO 2 SECONDS.
  IF  ld_error  EQ 0.
    SUBMIT rsconn01 WITH mode = 'INT'
                  WITH output = 'X'
                  AND RETURN.
  ENDIF.

Similar Messages

  • Link to mail only works once on Chrome (windows)

    Hi all,
    I have two links (both for the same e-mail address):
    The first:
    <s:Label text="CLIQUE AQUI!"
             useHandCursor="true"
             buttonMode="true"
             click="navigateToURL(new URLRequest('mailto:[email protected]'), '_self');"/>
    The second:
    <s:RichEditableText editable="false">
         <s:content><s:p><s:a href="mailto:[email protected]" target="_self">
              <s:linkHoverFormat>
                   <s:TextLayoutFormat color="#FFFFFF" textDecoration="underline"/>
              </s:linkHoverFormat>
              <s:linkNormalFormat>
                   <s:TextLayoutFormat color="#FFFFFF"/>
              </s:linkNormalFormat>
              <s:linkActiveFormat>
                   <s:TextLayoutFormat color="#FFFFFF"/>
              </s:linkActiveFormat>
                   <s:span>[email protected]</s:span>
              </s:a></s:p>
         </s:content>
    </s:RichEditableText>
    The problem is that they both work fine... once. If I click on them, they both open an Outlook window for a new message. After closing that window, if I click on them again nothing happens (when using chrome on windows, apparantely on mac it's ok).
    You can test here: http://consusimobiliaria.co.ao (click on the e-mail link in the CONTACTOS setion on the left)
    How can I workarroud this?
    Best regards,
    Jorge

    The example that you gave is great for opening a tab in a new page.To open panels on the same page see here http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm
    Gramps

  • Cannot send mail. only receive, at home. fine at work

    I have 2 email addresses and both receive mail fine no matter which server I am using. However I cannot send outgoing mail from either address when I am at home. I CAN send mail at work or school, however, using their servers.
    It gets worse though, because none of my roommates are having any problems with their mail! (But none of them have macs). So they can all send mail at home, but I cannot.
    Any ideas?

    Most, if not all ISPs used for connecting to the internet block the use of SMTP servers that are outside of their network on Port 25. Some ISPs allow the use of an authenticated SMTP server only that is outside of their network on Port 25 but some block its use regardless. Each ISP has different restrictions. These restrictions are in place as part of an overall effort to prevent spam emanating from the ISP's domain.
    If an ISP is blocking the use SMTP servers that are outside of their network, it makes no difference if you are using an email client on a Windows PC or on a Mac.
    Are you using the same or a different SMTP server for each account and if you are using a different SMTP server for each account, is one or both authenticated?
    Who is your ISP used for connecting to the internet when at Home and do you have access to an email account and SMTP server that is provided by your ISP at Home?
    Something to try first.
    Go to Mail > Preferences > Accounts and under the Account Information tab for the account preferences at the SMTP server selection, select the Server Settings button below. Enter 587 in place of 25 in the Server Port field and when finished, select OK to save the changed setting.
    Do this for each SMTP server if you use a different SMTP server for each account.
    If this does not resolve the problem, you need to contact your ISP used for connecting to the internet when at Home to determine what is required to send messages with an SMTP server that is outside of their network or that isn't provided by the ISP.
    If you have access to an email account and SMTP server provided by your ISP at Home, try adding the ISP's SMTP server to the Mail.app and select this SMTP server for each account which is invisible to all recipients.
    When returning to work or school, you might be able to use this SMTP server for both accounts and if not, you must select the previous SMTP server or servers for each account.

  • Mail will not send mail, only receive.

    I have spent the majority of today re-installing OS X and all necessary updates, music, data after the death of a hard drive. Luckily everything went perfectly, except for the same problem I had with Mail even before the 1st hard drive died. Mail will not send mail, only receive.
    All efforts time out and give me this message: "The connection to the server mail.earthlink.net on port 25 timed out"
    Mail used to send messages, but stopped suddenly in 2004 and has yet to start again. Any idea guys?! I can't figure it out, under Account settings I have necessary fields filled in: Outgoing Mail Server (SMTP) is set to "mail.earthlink.net", Server Port is set to 25, and Authentication drop menu is set to None.
    Any help would be greatly appreciated.
    --DANIEL

    This is NOT a problem with Mail or OS X. This is an incorrect settings problem - garbage in = garbage out and this information is certainly available at Earthlink's website and Earthlink also provides technical support.
    Earthlink has an authenticated SMTP server they changed to long ago.
    SMTP Server: smtpauth.earthlink.net
    Server Port: 587 but 25 should work if you are using Earthlink as your internet service provider for connecting to the internet.
    Use SSL: Off or not selected.
    Authentication: MD5 Challenge-Response
    User Name: Your ENTIRE Earthlink email address.
    Password: The account's password - the same password used to check the incoming mail server for new messages.

  • How to create distribution list in workflow? for  sending mail or work-item

    Hi,
    How to create distribution list in workflow? for  sending mail or work-item to multiple users.
    Regards,
    Surjith

    Hi Surjith,
    A.Working with Distribution Lists Creating a Distribution List.
    1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
    2.Then click on the distribution list in Businees Workplace.
    say create Name = WF_Vliste
    folder Name = WF_distributor
    3.distribution list content tab
    Enter Recipient (SAP User ID)
    B.Wrkflow Builder
    Find out the dialig step in which u want to use distribution list
    Use workflow Rule 30000012 (SWX_READ_DLI).
    Maintain the binding from workflow container to rule container.
    Just pass the name of the distribution list from WF to Rule container.
    Regards
    Sagar S

  • Pinch zoom-in/out only works once in Safai

    Outside of Safari, the pinch gesture works normally. In Preview it will zoom in or out as deep as I need. But when I try and use the gesture in Safari, it will only work once until I 'CMD' + '0' or click "Actual Size" in the View tab. It doesn't zoom on a gradient either. Pinch-open is the equivalent of 'CMD' + '+' and pinch-close is the the equivalent of 'CMD' + '-'. After I make the gesture once, I can pinch all I want and nothing happens. I need to revert the page to its original size for the gesture to work again (still only once).
    I have an i7 Macbook Pro running 10.6.8. Can anybody help me out?

    Sorry, I didnt do a good enough job explaining my issue/bug above. I can't attach a screen shot becuase of where I work and what this content is so I will do the best I can explaining it in text.
    I have a row of buttons created in InDesign that have no effects, no rollovers and lets just call them Apple In, Apple Out, Orange In, Orange Out, Banana In, Banana Out, etc.
    The Apple In button invokes an animation called Apple Fade In. Apple Out simply fades out the content animation. All of the other buttons function the same way. In my exported .swf I can click Apple In and I get my content as expected, I click Apple Out and away it goes. All other buttons work the same way, as expected. If I go through all my fruit and now I want to go back and display the Apples again. I click Apple In and NOTHING happens! If I click Apple Out the fade out animation works just fine, as many times as I want to click it, I get a flash of the content and it fades right out. The "In" buttons no longer work for any of the fruit after the initial "In" animation plays.
    In the Animation Panel I have the animations set to Play Once and Dont Hide. In the Layers Panel I have a layer called Apple Fade. In that Layer Group/Set I have Apple Fade Hack which consists of a native ID square no stroke and no fill grouped with my Apple content on "the stage." Also in that Layer Group/ Set is a collection of bitmap images, text, and vectors called Apple. I created the content first on a layer Apple, when I created the group with the blank square ID bumped the original content group under the parent layer and added another sub-layer called Apple Fade Hack. These two are indented and under the top level Apple Layer. I could probably get away with attaching a screen shot of the timing, layer, and animation panels if I had to.
    Thanks

  • Command Windows.open only works once

    Hi all,
    Iu2019m using javascript command window.open to open a new browser window from a html link webui and is working fine.
    The issue I have is this only works once. If you close the window that you had opened, and click again in the link it doesnu2019t work. It only works if you call another link before. It seems there is a kind of cache in somewhere.
    Do you have any idea?
    Thanks in advance.
    Fernando.-

    Fernando,
      Change ur mywindow name every time.Kindly go through following code. 
    CALL FUNCTION 'GENERAL_GET_RANDOM_STRING'
      EXPORTING
      number_chars        = 3
      IMPORTING
      RANDOM_STRING       = mywindow
    var lr_window;
    lr_window = window.open("<%= lv_id%>","<%= mywindow%>","resizable=1,width=1100,height=674,fullscreen=yes");
    if (window.focus)
    {lr_window.focus()}
    lr_window.moveTo(0, 0);
    <%
      clear lv_id.
    %>
    <%-- delete lv_window; --%>
    <%-- mywindow.close(); --%>
    <%
      endif.

  • JCOM only works once

    I have a web application that was originally developed using J-Integra
    1.5.3 -- it works great in tomcat 4.1, and the classes themselves can
    also be tested/exercised outside of tomcat, where they work perfectly
    as well.
    Now that the application is mostly finished with development, we want
    to deploy this to our BEA Weblogic 8.1 servers. The problem
    is that, after turning on JCOM, and removing the external jintegra
    jars (using only the weblogic versions now), I can get the app to
    work properly exactly once after startup. That is, I can start
    Weblogic, load the JSP page I use as a tester in my browser, and it
    works as it should. If I hit the refresh button, I get a
    RuntimeException like this:
    java.lang.RuntimeException:
         at com.linar.jintegra.StdObjRef.invoke(StdObjRef.java:55)
         at com.linar.jintegra.Dispatch.vtblInvoke(Dispatch.java:763)
         at jsp_servlet.__index._jspService(__index.java:181)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
         at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1053)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :387)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :305)
         at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6291)
         at
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
         at
    weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
         at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3575)
         at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2573)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    I also see this in my weblogic logs:
    <Jul 8, 2003 2:14:05 PM EDT> <Error> <COM> <BEA-210000> <100680] *: >
    and thats all the information I get.. I have tried to crank up the
    jintegra logging as high as I can (using both "
    com.linar.jintegra.Log.logImmediately(3, "c:\\temp\\jintegra.log");
    " in the constructor, and by supplying
    "-DJINTEGRA_LOG_FILE="c:\temp\jintegra2.log" -DJINTEGRA_LOG_LEVEL=3"
    on the startup line for weblogic, but gotten only as far as
    c:\temp\jintegra.log being created.. no contents in it, and
    jintegra2.log (the one created from the command line) isnt created at all.
    so, I am at a loss... it does work once, and I absolutely no
    information as to why it fails after that first time. Any ideas would
    be appreciated. thanks.

    not sure exactly why it would only work once, but I
    personally dont like using a listener for simple button actions.
    If it were me, i would just use standard button actions and
    make the caption fade in and out with an alpha tween.

  • Event only works once

    Hi all!
       I'm trying to do a movieclip that has 2 buttons that change the content of a flvplayer.
       The problem is that the buttons only work once, after that the event listener isn't triggered (I think) I have no removeEventListener in my code for those events so I'm totally lost as to why is this happening.
       My code is this:
    stop();
    var correr:Boolean = true;
    Globals.vars.videoP = CM_player;
    SnowManInst.addEventListener(MouseEvent.MOUSE_DOWN, mudarVideo_SM);
    bananaKingInst.addEventListener(MouseEvent.MOUSE_DOWN, mudarVideo_BK);
    addEventListener(MouseEvent.MOUSE_DOWN, pararFilme);
    function pararFilme(e1:MouseEvent){
        trace("pararFilme "+Globals.vars.videoP);
        Globals.vars.videoP.stop();
        correr = false;
        removeEventListener(MouseEvent.MOUSE_DOWN, pararFilme);
        addEventListener(MouseEvent.MOUSE_DOWN, correrFilme);
    function correrFilme(e1:MouseEvent){
        trace("correrFilme");
        Globals.vars.videoP.play();
        correr = true;
        removeEventListener(MouseEvent.MOUSE_DOWN, correrFilme);
        addEventListener(MouseEvent.MOUSE_DOWN, pararFilme);
    function mudarVideo_BK(e1:MouseEvent){
        trace("mudar video BK");
        Globals.vars.videoP.stop();   
        gotoAndStop(2);
    function mudarVideo_SM(e1:MouseEvent){
        trace("mudarVideo_SM");
        Globals.vars.videoP.stop();   
        gotoAndStop(3);
    Any help would be greatly appreciated.

    it's not clear what you're trying to accomplish with that code but there are a few reasons that might fail.
    to starty, you should understand that first a button event is dispatched, then a main timeline event is dispatched (and the main timeline listener toggles between two listener functions) and finally you go to a different frame and any code in the other frame is executed.
    so, that's a pretty screwy setup.  you should remove the main timeline listeners and their functions and it's not clear you need to direct the main timeline to another frame.

  • Button get_url only worked after the first loop

    Hi all,
    I created a new layer, draw a rectangle, converted it to button, made its alpha to 0 and then added a snippet to go to the url. But when it played, the action only worked after the first loop had finished. It didn't work at the beginning.
    Somebody save me
    Thanks

    your button must exist when your code executes.

  • Iphone 3G, Exchange mail - can't send new mail only works by reply

    Before upgrading from 2.0 to 2.0.2 all worked like a charm with Exchange mail. Now I am not able to send new mail from iphone using Exchange account. When I try to do so, a send bar appears shortly, but no message is sent. When trying to forward a note from Notes application using exchange account, also applications closes down automatically.
    The only viable option to send mail via Exchange is by replying to someone's message.
    How to deal with this?
    I have tried to delete all accounts on iphone and re-establishe them. Doesn't work.

    Discovered, that it is a problem connected to Contacts. If you are using Contacts or typing a new email address, New mail won't go.
    If you however browse Exchange address book and select a person to send email to, that will work.
    Apple what happenedin 2.0.2?

  • Spry Tab link only works once... why?

    Hi all,
    I have a spry tabbed area with 4 tabs on my page. Each tab contains data that is dragged from an MSAccess table. A couple of the tabs have repeat regions. This all works fine.  One of my tabs has a repeat region where I can click on a button image to change a record status from True to False (or visa versa). The click runs the associated vbscript which executes the SQL update statement no problem. However I noticed that when I changed the data on this tab and reloaded the page using a Response.redirect after the sql update was executed, it would default to the 1st tab and not the one I was viewing that contains the repeat region. A quick search led me to the SpryURLUtils.js file which solved that problem by allowing me to specify which tab to load. I appended the relevant code to give me this:
    Response.Redirect("myrecord.asp?" & Request.QueryString & "&tab=1#TabbedPanels1"
    As I mentioned, the tab contains a repeat region. If I click on a button to change the status of that record the page reloads fine and displays the correct tab. But this only happens once... each subsequent time I try to change another record my tab contents disappear. The tabs are still visible and if I click on the tab where I've changed the data the tab content is dispalayed, but obvioulsy this isn't right... it should reload and display the correct tab with each call of the code.If I navigate away from this page and then come back to it I can successfully chnage one record and the results are displayed. Change another record and the changes are made, but the tab contents are not displayed again. The interesting thing is that if I reload/refresh the page the problem occurs staright away on the first record change.
    So my question is 2-fold... Why is this happening and how do I solve the problem?
    Here is the vbscript that updates the record and  does the Response.redirect
    <%
    'Change Notification
    If (CStr(Request("ToggleNotify")) = "ToggleNotify") Then
    dim strSQL
    'check to see if notification is currently true or false
        If cstr(Request.Form("NotifyChanges")) = Cstr("True") Then
        'change notifiaction to false
            strSQL = "UPDATE tblUserAccess SET NotifyChanges=0 WHERE AccessID = " & Request.Form("hiddenAccessID")
        else
            strSQL = "UPDATE tblUserAccess SET NotifyChanges=-1 WHERE AccessID = " & Request.Form("hiddenAccessID")
        end if
        Set MM_editCmd = Server.CreateObject ("ADODB.Command")
        MM_editCmd.ActiveConnection = MM_VBUsers_STRING
        MM_editCmd.CommandText = strSQL
        MM_editCmd.Execute
        MM_editCmd.ActiveConnection.Close
        Response.Redirect("myrecord.asp?" & Request.QueryString & "&tab=1#TabbedPanels1" )
    End If
    %>
    Here is my Repeat region with the associated form
    <%
    While ((Repeat3__numRows <> 0) AND (NOT rsAccessRights.EOF))
    %>
    <form name="frmNotifications" method="post" action="">
      <tr class="PageText">
        <td width="200"><%=(rsAccessRights.Fields.Item("SectionTitle").Value)%>
            <input type="hidden" name="hiddenAccessID" id="hiddenField2" value="<%=(rsAccessRights.Fields.Item("AccessID").Value)%>">
        </td>
        <td width="200">
                    <%If (CStr((rsAccessRights.Fields.Item("NotifyChanges").Value)) = CStr("True")) Then %>
              <input type="image" src="../sitegraphics/accept.png" alt="Submit button">
            <%else%>
              <input type="image" src="../sitegraphics/cross.png" alt="Submit button">
            <%end if%>
        <input type="hidden" name="ToggleNotify" value="ToggleNotify">
        <input type="hidden" name="NotifyChanges" id="test" value="<%=cstr((rsAccessRights.Fields.Item("NotifyChanges").Value))%>">
       </td>
    </tr>
    </form>
      <%
      Repeat3__index=Repeat3__index+1
      Repeat3__numRows=Repeat3__numRows-1
      rsAccessRights.MoveNext()
    Wend
    %>
    And here is the bit at the bottom that specifies the default tab if nothing is passed in the URL
    <script type="text/javascript">
    <!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab: params.tab ? params.tab : 0});
    //-->
    </script>
    Sorry for the long post!
    This is my first dabble with Spry stuff, so I'm a bit green. If anyone can explain to me why this is happening that would be most apopreciated. If anyone can tell me how to solve the problem I'll send them a big e-kiss!
    Not sure how impotant this is but it happens in both Firefox and IE8.
    Thanks in advance
    Dan

    Hi Ben, thanks for taking the time to read my query.
    The site in question is an intranet site, so I am unable to give you a link to the page. Would the entire page of code rather than just the odd bits help?
    Cheers
    Dan

  • HTTP GET only works once

    Web UI Builder:
    I have a device that responds to HTTP GET messages.
    I made a simple vi that uses the HTTP GET String function connected to a string constant and WireShark to monitor Ethernet traffic.
    When the vi is first run an HTTP message is sent and replied to.
    If the vi is run again the message is not transmitted.
    If the HTTP GET message is changed the new message will be transmitted. But not twice.
    If LabVIEW Web UI Builder is closed and restarted the message will again be sent just once when run.
    Why is the message only being sent once? It's like all outgoing messages are being tracked and only sent once.

    I think this is standard (but not always desirable) behavior of the networking stack that Web UI Builder uses. (On Windows, it's basically the built in/  Internet Explorer networking stack). After the first GET request with the same URL, if the server doesn't send no-cache headers, a cached result will be returned.
    If you control the server that you're connecting to (and can add HTTP headers), try adding a no-cache header to the GET response. ("Cache-Control: no-cache" is the first one I'd try).
    If you don't control the server you're connecting to / that doesn't work, another workaround is to append a query string parameter with a random number or timestamp. With this approach, the GET URL is always changing, so the caching behavior is disabled and the request should always go to the server.
    (Something like this appended to the end of the URL:
    or, "&n=[timeInTicks]" if you're already using other query parameters)

  • HT201320 Setting up mail only works the first time and then fails...

    Hello,
    I own a new iPad 4.
    Setting up my own mail accounts works great for the first time (I see new mails and I can sent mails), but the second time I open the Mail-App it complains about my mail settings.
    Mails are provided from my own domain. Using other mail clients I don't have issues.
    Setting is based on IMAP ssl/port 993 and ssl/578. iPad runs on IOS6.1.
    Do you have an idea why?
    Carsten

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • Send mail not working in MINISAP

    Hi experts,
    I did automatic workflow customizing in SWU3, then created a test workflow to send mail notification to  workflow initiator. After running WF, the mail is not received in user workplace. In workflow log it shows Mail has send.
    Did any additional configuration has to be done in SWU3....

    Hi RK
    It may have a very simple error
    - Check your work flow log with the help of SWUD .
    - Check your agent assignment
    - Check your event linkage
    Do tell me in otherwise case.
    Regards
    Sachin

Maybe you are looking for

  • How to disable the "turn page" event triggered by the scroll/swipe function?

    The problem is as follows. The default behaviour of Acrobat Reader (both stand alone and browser plug-in) is to allow scrolling/swiping with the mouse wheel/trackpad. This is useful when the pdf's page length is greater than the screen's own length,

  • Root element added in existing mapping PI 7.1

    Hi Experts, I got existing mapping with around 500 fields, the source structure is external defination, they added the root element to existing xsd, when i try to import the external definition into the mapping it is giving following error. Function

  • Problem with 845PE Max2 & Saphire 9000Pro

    Hello everyone!!! I have a little problem. 3 days ago I change 845E max m/b to 845PE Max2. And I have a problem with Saphire 9000Pro. When I install Intel Chipset Driver I cannot install Ati drivers. When I install Ati driver, then install Intel Chip

  • Missing some billing in MC+E

    Dear All, In MCE  there some billing has disappeared in my sales organization. I checked the field STAFO in table VBAK, VBAP, VBRK, LIKP has empty. It should filled by 00001. I think if I changed the value in STAFO then I can see properly in MCe. The

  • Multiple unknown files created when working in Illustrator CS4 on Windows 7

    Hi there, If this has been addressed before, I apologize. I've been googling and searching this forum for a mention of this but haven't been able to find anything. Whenever I'm working with a file in Illustrator, multiple unknown files are created. W