| Author |  | 
      
        | klint Guest Group
 
  
 
 Joined: 10 November 2003
 Online Status: Online
 Posts: 262
 | 
          hi
           | Posted: 21 December 2005 at 4:19am | IP Logged |   |  
           | 
 |  actually my problem is SendToQueueEx Method
 
 
 please give me details of this method i can't understand how to using this and also give some code
 thanks
 klint
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          SMTP.SendToQueueEx method is intended for deferred sending large volumes of emails. With this method, emails are submitted to MailBee Message Queue service which then sends them in the background.
           | Posted: 21 December 2005 at 9:22am | IP Logged |   |  
           | 
 |  
 If you wish to move mails between folders of your account, you should use IMAP4.CopyMessages and IMAP4.DeleteMessages methods for this:
 
 
| Code: 
 
    
    | 
      
       | ' Assume we've already connected to IMAP account
 ' and wish to move message #1 into Junk folder
 If IMAP4.CopyMessages("Junk", 1, 1, False) Then
 IMAP4.DeleteMessages(1, 1, False)
 IMAP4.ExpungeAndClose
 End If
 
 |  |  |  However, make sure junk folder can be accessed via IMAP. With some servers (such as SurgeMail) the only way to access junk folder is to directly manipulate mailbox files on the mail server.
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |