SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎target.mail‎ > ‎

Move


Platform Objects


Description

This will move a message based on a given path.

Syntax


trg.mail.Move id, path

id (input) - id of message you want to move
path (input) - path of message you want to move


Return value


This function does not return a value.

Sample

'---------- Start ----------
Function Start
 
trg.mail.Connect "imap", "simx02", "support@simx.com", "test2"
trg.mail.Move "test", "support@simx.com/trash"

End Function

See also


Platform Objects and Methods
target.mail.GetMessages()
target.mail.Replace()
target.mail