|
|
|
|
|
EmailCopy (Function) In french: EmailCopie Copies an email found in a directory to another directory of an IMAP server. Note: This function is not available for POP3, Outlook and Notes sessions.. MonEmail is Email
MaSession is emailIMAPSession
...
IF EmailStartSession(MaSession) = True THEN
IF EmailReadFirst(MaSession, MonEmail) = True THEN
EmailCopy(MaSession, MonEmail, "Inbox/Lu")
END
EmailCloseSession(MaSession)
END
Syntax
Copying an email found in an Email variable Hide the details
<Result> = EmailCopy(<Email> , <Documentation>)
<Result>: Boolean - True if the image was copied,
- False otherwise.
<Email>: Email variable Name of the Email variable that corresponds to the email to be copied. This email is associated with an IMAP session. <Documentation>: Character string Destination folder of the email. This folder must exist. The list of folders is returned by EmailListFolder.
Copying an email found in an Email variable while specifying the IMAP session Hide the details
<Result> = EmailCopy(<Session> , <Email> , <Documentation>)
<Result>: Boolean - True if the image was copied,
- False otherwise.
<Session>: emailIMAPSession variable Name of the emailIMAPSession session corresponding to the session to which the email belongs. <Email>: Email variable Name of the Email variable that corresponds to the email to be copied. <Documentation>: Character string Destination folder of the email. This folder must exist. The list of folders is returned by EmailListFolder.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|