Draft messages left in trash when using API

Recently, I have discovered a problem when sending an email using the Groupwise API that the draft message created before delivery is placed in the Trash. Before it seemed that the draft message was emptied from trash. Has something changed (using versions 7 and 8)? Or, is there a setting I need to change in code?
Thanks,
Mike
Here is a code sample:
Set objGW = createobject("NovellGroupwareSession")
Set objAcct = objGW.Login()
objMsg = objAcct.Mailbox.Messages.Add()
objMsg.Subject = "Test"
objMsg.BodyText.PlainTest = "This is a test."
objMsg.Recipients.Add("my email address")
objMsg.Attachments.Add("path and filename")
objMsg.Send()
I receive the email, but I also get a draft in my trash without a recipient.

On 9/12/2011 5:56 AM, mikecsom wrote:
>
> Recently, I have discovered a problem when sending an email using the
> Groupwise API that the draft message created before delivery is placed
> in the Trash. Before it seemed that the draft message was emptied from
> trash. Has something changed (using versions 7 and 8)? Or, is there a
> setting I need to change in code?
>
> Thanks,
>
> Mike
>
> Here is a code sample:
>
> Set objGW = createobject("NovellGroupwareSession")
> Set objAcct = objGW.Login()
> objMsg = objAcct.Mailbox.Messages.Add()
> objMsg.Subject = "Test"
> objMsg.BodyText.PlainTest = "This is a test."
> objMsg.Recipients.Add("my email address")
> objMsg.Attachments.Add("path and filename")
> objMsg.Send()
>
> I receive the email, but I also get a draft in my trash without a
> recipient.
>
>
That has always happened, afaik..

Similar Messages

  • Safari is having problem loading messages in gmail. When using other browsers, there is no problem loading and viewing the messages. What is going on? please help!

    safari is having problem loading messages in gmail. When using other browsers, there is no problem loading and viewing the messages. What is going on? please help!

    I should have explained further. The game opens in a new window over to the upper left of my screen, leaving the original page underneath. I tried minimizing it so that I could get to my toolbar and did the View > Zoom > Reset. This has no effect. The lower portion of the game is still not showing. Using other browsers the window or frame of the game is much larger, therefore everything shows.

  • Some Text Messages do not display when using large font on iphone

    When using increased font size (accessability function) on iphone some text messages will not display. The iphone just seems to lock up. If normal font size is used text massage displays with out any issue. When font size is increased, text message will not display again.

    Hi Peter
    Actually, Captivate does have an essentially unlimited number
    of undo levels. But that number may appear to be different. The
    number of levels starts when you begin editing the project. If you
    close and re-open a project, that starts the undo process over.
    I've tested and I gave up after about 280 or so undos.
    Where Captivate doesn't allow an undo, it normally warns you
    with a rather catastrophic looking dialog.
    Cheers... Rick

  • Duplicate messages in search results (when using Smart Mailboxes, etc)

    I've recently started using Search Folders more and more in Mail.app
    I've encountered this very annoying bug/feature, where duplicate messages show up in a search (inside Mail). The duplicate messages are showing up multiple times (once, for each Smart Mailbox they reside in) as well as their physical Mailbox, as well as "All Mail".
    The lowdown:
    Mac OS X Leopard (10.5.4 Build 9E17)
    Dual 1.25 GHz PowerPC G4 -----(shut up! it still rocks w/my multiple 23'' apple displays)
    2GB RAM
    Mail.app Version 3.3 (926.1/926)
    This feature/bug makes it VERY difficult to find things when I'm forced to sift through at least 3 copies of any message that appears in Smart Mailboxes.
    Should I stop using Smart Mailboxes because this is a deliberate feature?
    Any suggestions or thoughts would be GREATLY appreciated.
    In a search, I think that a better way to display the multiple locations (through Smart Mailboxes, etc) that a mailbox "appears" would be to add something to the header section of a message, below everything else, or off to the right, which would indicate the Original (physical) folder a message exists in, as well as it's locations via Search Folders. This would at least eliminate the problem where they're showing up as two, three, or more COPIES within a search.
    Thanks,
    Jackson

    Hi Christiaan !
    I understand your problem. Could you set your IMAP account to avoid multiple simultaneous sessions?? maybe if there is only one session allowed per user or per time, then parallel XI threads will not be able to start downloading the messages.
    If you cannot use a longer poll interval, then you could develop an adapter module for the Mail sender adapter that could be used to verify if the current mail is just being downloaded by other thread. This adapter module could check the unique mail data (date/time + subject + etc.) against a local table.
    Regards,
    Matias.
    PD: please award points if helpful.
    Message was edited by:
            Matias Denker

  • Error when using API.DataWindow.Utilities.mShellAndWait: File not found

    I am trying to run a simple command using API.DataWindow.Utilities.mShellAndWait, however I am experiencing the following error in FDM web. Strangely, I do not see the same error when the command is run from FDM Workbench:
    Error: File not found
    At Line: ###
    The command is as follows:
    Dim strCMD
    strCMD = "ECHO %DATE% %TIME% >> \\<servername>\<folder1>\<folder2>\File.Log"
    API.DataWindow.Utilities.mShellAndWait strCMD, 0
    This command works fine when run directly from the command line. I am using a UNC path so thought this would have worked. Can anyone please suggest how I can resolve this? I have also tried the following and this results in a similar error:
    Dim strCMD
    strCMD = "ECHO %DATE% %TIME% >> \\<servername>\<folder1>\<folder2>\File.Log"
    Set WshShell = CreateObject("WScript.Shell")
    Set WshShellExec = WshShell.Exec(strCMD)
    Error: The system cannot find the file specified.

    I would expect the issue is due to user access priviledges.
    When you run it through Workbench, the shell and wait is using your (logged on user's) credentials.
    When it operates through the web stie, it is using the service account credentials.
    If the service account does not have permissions, that could explain the 'file not found', though I would expect an access is denied error.
    $.02

  • TS3623 "An error occurred loading this content..try again later" is the message that I get when using my Apple TV remote.  I click on Breaking Bad; then I click on an episode and get the message which I just quoted.  Is this a Netflix problem?

    Why am I getting the following message when using my Apple TV remote on Netflix:  "An error occurred loading this content....try again later?

    Make sure DNS is set to ISPs (settings - general - network - DNS should be set to automatic). Trey rebooting ATV, and router. Make sure all are up to date.

  • Avoid essbase login pop up when using API

    HI,
    I have written a vb macro to retrieve data from essbase using APIs. I have used EssVConnect. Eventhough i give the server,username and password to a variable and execute the procedure, the essbase login screen appears. I want to avoid this as this code would be used for automation. Please help me in doing so. The retrieval code which is part of the automation code is here below. Here the sheet name, application name and the database name is read from another worksheet and assigned to the variables sheetName , AppName and DBName. The Cache here is the application name and database name which are assigned is to the variables AppName and DBName is highlighted in the essbase login popup. And if i modify the variable Server1 to server the procedure stops running. it says login failed due to insufficient credentials. But i use admin user.
    Declare Function EssVConnect Lib "ESSEXCLN.XLL" (ByVal sheetName As _
    Variant, ByVal UserName As Variant, ByVal Password As Variant, ByVal Server _
    As Variant, ByVal application As Variant, ByVal database As Variant) As _
    Long
    Declare Function EssVRetrieve Lib "ESSEXCLN.XLL" (ByVal sheetName As _
    Variant, ByVal range As Variant, ByVal lockFlag As Variant) As Long
    Declare Function EssVDisconnect Lib "ESSEXCLN.XLL" (ByVal sheetName As _
    Variant) As Long
    Sub RetrieveData()
    Server1 = "localhost"
    UserName = "admin"
    Password = "password"
    Set Ssheet = Sheets(sheetName)
    Ssheet.Activate
    AppName = CStr(applicationname)
    DbName = CStr(DatabaseName)
    TimeStart = Timer
    sts = EssVConnect(sheetName, UserName, Password, Server, AppName, DbName)
    If sts = 0 Then
    x = EssVRetrieve(sheetName, Null, 1)
    If x = 0 Then
    Y = EssVDisconnect(sheetName)
    If Y <> 0 Then
    GoTo ErrHan
    End If
    Else
    GoTo ErrHan
    End If
    Else
    MsgBox ("Connection failed for the worksheet - " & sheetName)
    GoTo ErrHan
    End If
    TimeEnd = Timer
    TimeTester = TimeEnd - TimeStart
    ErrHan:
    On Error Resume Next
    End Sub
    Edited by: ragavhere on Nov 13, 2009 7:03 PM

    Hi,
    Thanks for your responses. Server variable problem is secondary. I have a excel worksheet in this format
    ApplicationName     DatabaseName     SheetName
    RetilPOC     Plan1     Sheet2
    RetilPOC     Plan2     Sheet3
    RetilPOC     Plan3     Sheet4
    The application name,database name and sheet name are read by a procedure from this worksheet row by row and passed as a parameter to the procedure "RetrieveData".My primary objective is to login to the essbase application and database which are passed as parameters from the procedure which invokes the procedure "RetrieveData" without the essbase login screen coming up. How can i do it automatically?The user shouldn't keep typing the username and password. The procedure should read the login credentials from the variables and login automatically. How do i need to modify my code to achieve this?

  • Message error ORA-00936 when using JDBC adapter

    Hi all,
    I'm using the folow scenario:
    RFC --> XI --> JDBC
    RFC <-- XI <-- JDBC (response)
    It's a SYNCHRONOUS interface.
    RFC call without COMMIT WORK:
    CALL FUNCTION 'Y_TESTE_NEI'
        DESTINATION 'RFC_XI'
    EXPORTING
       DATE_FROM       =  v_data_from
       DATE_TO         =  v_data_to
      TABLES
        t_return        = t_dados.
    I'm not using KEY in JDBC message, because for test I want to get entiry table, and I set the communication channel JDBC to KEY not mandatory.
    I'm not having mapping error, in SXMB_MONI I can see the two messages of interface, but both with SYSTEM ERROR.
    In JDBC adapter in Runtime Workbench apears the follow message error:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 't7_productionorder' (structure 't7_productionorder'): java.sql.SQLException: ORA-00936: missing expression
    And DUMP in function call in R/3: CALL_FUNCTION_REMOTE_ERROR
    Could anyone help me about this problem ?
    Thanks in advance.
    Regis Ferrato

    Hi Regis,
    I did the same scenario just now. The error you get is, you need to check whether the fields you are entering into the database have correct datatypes.
    Check out your database structure with your structure in XI, and also test in Message Mapping, to make sure you are sending correct values.
    In my case I was sending date like this '10-12-06', but my DB accepts only '101206'. So I removed the '-'. It was fine .
    The Dumping error is not due to your ABAP, due to the DB operation.
    Let me know Whether I am correct.
    Raj.

  • Error Message in UIX Editor when using a custom parameter to a template

    In my UIX template, I have a custom attribute "selectedTab", as advised in the documentation:
    <type base="ui:pageLayout">
    <!-- define the template's type information -->
    <namedChild name="topHead"/>
    <attribute name="selectedTab" javaType="int"/>
    </type>
    I use it in the UIX file, again as advised by the doc:
    <myTemplate:SalmonTrap title="SalmonTrap - Live Accounts" xmlns:myTemplate="salmontrap" selectedTab="0">
    It works but I get the following message when I compile or try to GUI edit:
    Error(0,0): Attribute selectedTab not defined on element myTemplate:SalmonTrap
    What do I do wrong?

    Eric,
    That should work and not show the usage of selectedTab as an error. (You may need to restart JDev after creating the template for it to work right.) In fact, when you select the SalmonTrap component in the structure pane, the property inspector should actually show you that selectedTab is an attribute you can set. I can make this work.
    One other thing to check: is the UIT in the same project as the UIX file? I'm not positive this is required for the design-time to work, but it may be.
    -brian
    Team JDeveloper/UIX

  • Messages stuck in outbox when using "Send to Mail recipient" and outlook is closed

    A user who uses RPC over https all the time on his desktop in the office. In general
    he has no problem to send/receive emails. But when he tried to send a File through right click - > send to -> Mail recipient , New Email window opens and He changes
    the subject and add receipt and send email when outlook is close. The email stuck in outbox.
    any idea and how to fix it?
    Thanks in advance. 

    Hi,
    As what Roady says, it is an expected behavior. This is because the
    “spooler” which is something that manages the MAPI transports is working when Outlook is running. So when you sending messages when Outlook is not running, there is no spooler running, and so nothing is going to send your mail. The next time you launch Outlook,
    you will see the mail in the Outbox.
    For more information about this behavior, please refer to A trip back in time—the evolution of Outlook part of the following link:
    http://blogs.technet.com/b/office_resource_kit/archive/2013/08/15/the-mysterious-outlook-outbox.aspx
    Regards,
    Winnie Liang
    TechNet Community Support

  • Message getting cut off when using carkit

    While using my 5800 and OVI Maps with my Nokia CK-100 carkit nagigation messages get cut of at the start (vey annoying).
    "In the next roundabout..." becomes "e next roundabout".
    "After 200 meters..." becomes "r 200 meters".
    And so on...
    Seems likie the phone starts sending the audio before the carkit has switched on the audio (there is a relay saying "click" :-)
    Is there anything that can be done about this?
    Like a small pause before the voice message is played (1/2 second silence at the start of the message)?
    Also when the message is done playing the radio mute is on for a LONG while before radio switches back on. Why?
    Lars-Erik Østerud - http://www.osterud.name/nokia.html

    Upgraded from 4.300 to 4.401
    (download on my laptop and carried that down to my car, must have looked like a very high-tech car-thief sitting there with a laptop and a USB cabled plugged into something under the dashboard :-)
    Haven't tried driving yet (only tested that te CK-100 still worked :-)
    Lars-Erik Østerud - http://www.osterud.name/nokia.html

  • When is a message considered as received when using Near Field Communication?

    Hi there!
    I'm using Near Field Communication(NFC) in my app(it's a game) and I just want to send very simple messages so the regular NFC tap suffices.
    I've read the documentation and went through the proximity sample and I understand what I've to do to make this work, so no problems so far.
    The thing I'm struggeling with is the following: I would like to send a message using NFC to a particular player in my game.
    Two players are connected to each other and only those two should be supposed to be able to send messages to each other using NFC.
    These messages do not contain any secret information so I can use the "Windows." format as tag to subscribe to and send messages with.
    I came up with the idea to subscribe for a tag that's basically your userId and publish messages with a tag that consists out of your opponents user_id. All of that works fine the thing is, I use the MessageTransmitedHandler and MessageReceivedHandler, the
    one is raised when you've succesfully transmited the message and the other one when you've received a message.
    These callback functions make sure that you only send a message once and receive it once by using the StopPublishingMessage and StopSubscribingForMessage functions. And here's the catch, I only want to call these functions if you actually "consume"
    the message you receive! And stop publishing a message when the correct opponent received it.(This is to make sure that if multiple users are in the same room for example that only the one's related to each other can tap each other's devices).
    Right now the callback function will always stop publishing the message, or subscribing to a message even if you tapped the wrong user.
    I'm not 100% sure but I do believe this is because the callback function is called no matter if the other device really "consumed' the message.
    So my question is, is there a way to determine if the opposing side actually "consumed' the message? If there's no built in function for this(which I think there isn't after I went through the documentation) do you guys have any idea how I could achieve
    the behaviour I want?
    I hope my message isn't too confusing, if it's feel free to indicate that and I'll try to clarify those parts.
    Thanks in advance!
    My best regards
    Jan

    Proximity is a great way for users on tow devices to share your app experience and data. You can establish a connection between two peer apps at one time as I know. This quickstart describe it in detail,
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465205.aspx. If one user want to communicate with a third user, his app need to connect to that one first.
    If I'm not mistaken this sets up a WiFi or Bleutooth connection, I'm not really looking for that since the message I wish to send is really really short and NFC is perfect for it. It seems like a hassle to me to set up such a peer to peer connection just to
    be able to identify if the message has been received by the correct user.

  • Cannot edit forward messages for e-mail when using...

    Hello,
    Have a Lumia 800 v7.5 with an Microsoft Exchange e-mail account.
    When I forward an e-mail but at the same time would like to edit the original message - this is not allowed.
    A friend of mine tested the same thing on a HTC Windows Phone 8 with same result.
    Any reason for why this is not allowed or can it be done somehow?
    Kind regards,
    raja

    Hi. I also tried this using a Nokia Lumia 620 and yes, it's not possible to edit the original message you are trying to forward. However, you can add your vote on the below link.
    http://windowsphone.uservoice.com/forums/101801-feature-suggestions/suggestions/2281161-delete-edit-...
    Cheers.

  • Warning message in oc4j log when using af:region

    Hello -
    (Jdev 10.1.3 SU2)
    When testing my ADF faces app, the first time someone hits a page that uses a region, the following message appears in the embedded OC4J server log. I am concerned about the "WARNING" part - is this message normal or does it indicate that I might have set something up incorrectly?
    2006-05-16 08:20:53.279 WARNING Replaced jspUri /regions/userInfoRegion.jspx with /regions/userInfoRegion.jspx for componentType:xyz.userInfoThanks!
    -- Scott

    Hello,
    I'm getting the same error when i try to create a BOM using the BOMMAT03 idoc.
    How did you manage to solve this issue?
    I appreciate your help.
    Thanks&Rgds
    Angelica Fontes

  • How can i get rid of the print dialog box when using api to print an html file

    i am using the systemshell.vi provided by labview the VI is working fine but it will open a dialog box for printer selection and properties. i would like to hide that dialog box and have it print to the default printer with the default properties

    ShellExec is part of lvwutil and merely calls a function in Shell32.dll. There is nothing about the function call that controls the display of the printer dialog. I think that what shell32.dll does when it prints (just like right clicking on the file) is print the file according to what is defined about that file type in Windows Folder Options. On my Win2K system, the print application is defined as "C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1. If I remove the /p, then Word starts up and in order to print, I get a printer dialog when choosing Print from the File menu. So it seems like the printer dialog is entirely dependant on the application that does the printing. I get no dialog when I use the VI to print a .txt file. I
    nstead of using shell32, you might want to try some ActiveX method or property of an application like Internet Explorer that can open and print an html file.

Maybe you are looking for