Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon API > XML API calls for moving emails

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon API  /

XML API calls for moving emails

[Ojeda, Alcides]
Alcides Ojeda
Newbie
Newbie
Posts: 1
Alcides Ojeda - 07:13am, May 12 2020

I was trying to move emails using the XML API (below the request).
Is it possible to use the message-id instead of the id to identify which email to move?

(MDaemon)
    (API)
        (Request version="19.5.5" echo="1" verbose="1")
(Operation)ItemOperation(/Operation)
(Parameters)
(Item ID="md50000000005.msg" path="MAILBOX/Inbox" account="someone@domail.com" action="move" destpath="PUBLIC/FOLDER" /)
(/Parameters)
        (/Request)
    (/API)
(/MDaemon)

  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Keith Personett (apparently) - May 12, 2020 3:27 pm (#1 Total: 1)  

via email  

Photo of Author
Keith Personett
Newbie
Newbie
Posts: 76

You must use the id provided by the system, as shown in the xml your posted.

 

Keith Personett

Senior Software Developer, Cerebro Calibration Specialist, Agent of S.H.I.E.LD., Helicarrier Systems Analyst

MDaemon Technologies http://www.mdaemon.com/ or on Facebook

Sent using Outlook 2013 via ActiveSync Services for MDaemon Messaging Server.

I 16 1018

"You get hurt, hurt 'em back. You get killed... walk it off!"

                - Steve Rogers/Captain America

 

From: md-api@mdaemon.com [mailto:md-api@mdaemon.com] On Behalf Of Alcides Ojeda
Sent: Tuesday, May 12, 2020 7:14 AM
To: md-api List Member <md-api@mdaemon.com>
Subject: [md-api] XML API calls for moving emails

 

I was trying to move emails using the XML API (below the request).
Is it possible to use the message-id instead of the id to identify which email to move?

(MDaemon)
    (API)
        (Request version="19.5.5" echo="1" verbose="1")
(Operation)ItemOperation(/Operation)
(Parameters)
(Item ID="md50000000005.msg" path="MAILBOX/Inbox" account="someone@domail.com" action="move" destpath="PUBLIC/FOLDER" /)
(/Parameters)
        (/Request)
    (/API)
(/MDaemon)


View/reply at XML API calls for moving emails

 
 
--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------
 
---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user 
support and discussion.  MDaemon staff members may participate in the 
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical 
support please use the form here:
http://www.mdaemon.com/support/request_support.asp
---------------------------------------------------------------------

--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion.  MDaemon staff members may participate in the
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical
support please use the form here:
http://www.mdaemon.com/support/request_support.asp
---------------------------------------------------------------------



  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



 Content:

Read New | Search

 Guest:

Email to Admin



You are visiting as a Guest user.