Results 1 to 2 of 2

Thread: [SOLVED] SOAP command to send message from drafts ?

  1. #1
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    7

    Default [SOLVED] SOAP command to send message from drafts ?

    Does anyone know if there is a SOAP command available to send a message from the drafts folder ?

    I would like to be able to use the fileuploadservlet to upload a message, save it to the drafts folder, then use the SOAP API to modify some of the properties on the message (such as the original ID if it is a reply/forward, etc.), then finally Send the message, and remove the Draft.

    Thanks in advance

  2. #2
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    7

    Default

    I opened a bug on this to see if I could get some official comment, and here is the response.

    There is no direct way to do this, but there is a 3 step process to achieve it.


    1. SaveDraftRequest - Get message id
    or
    For saved message use SearchRequest in Draft Folder get mail box id.


    2. Send <GetMsgRequest> with message id.
    get all data for the saved message.

    3. send <SendMsgRequest> with data retrieved from <GetMsgResponse>


    Actually, there should also be a 4th step,

    4. send <ItemActionRequest> or <MsgActionRequest> to "delete" the draft

Similar Threads

  1. Im Panicing. "Could not send message due to invalid address(es)"
    By Thomas.Curtis in forum Administrators
    Replies: 11
    Last Post: 06-09-2010, 05:32 AM
  2. zmzimletctl deploy zimbra_posixaccount.zip - ERROR -
    By todd_dsm in forum Administrators
    Replies: 0
    Last Post: 04-02-2009, 01:41 PM
  3. Emails bouncing with "Error Text: 401,'null'"
    By sholden in forum Zimbra Connector for Outlook
    Replies: 27
    Last Post: 08-20-2008, 04:59 PM
  4. [SOLVED] 1 unread message in Drafts
    By kaffemand in forum Administrators
    Replies: 3
    Last Post: 09-10-2007, 12:37 PM
  5. Zimbra Error Message on Send Email
    By moniker in forum Administrators
    Replies: 15
    Last Post: 08-02-2007, 09:03 AM

Posting Permissions

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