| Author |  | 
      
        | bjorn Newbie
 
  
 
 Joined: 21 May 2007
 Location: Sweden
 Online Status: Offline
 Posts: 7
 | 
          Hi
           | Posted: 29 August 2007 at 1:22pm | IP Logged |   |  
           | 
 |  
 What is the best way to do a forward applications using mailbee pop3 and smtp or imap4
 
 What i would like to do is:
 Download a mail
 Change the to address
 Send the mail to the new adress.
 
 But, i dont want to save the attachemnt to disk and keep all the objects (subject, from, body) in strings.
 Is there a way to directly transfer the mail object from pop to smtp?
 
 I need to change TO and the Subject so what is the best way to do it?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | bjorn Newbie
 
  
 
 Joined: 21 May 2007
 Location: Sweden
 Online Status: Offline
 Posts: 7
 | 
          Sorry about this,
           | Posted: 29 August 2007 at 1:25pm | IP Logged |   |  
           | 
 |  but i now found a sample "Redirecting message"
 
 Anyway , maby someone have better suggestions..
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          You can also try "Forwarding message" sample. There, we just change To and Subject.
           | Posted: 29 August 2007 at 1:47pm | IP Logged |   |  
           | 
 |  
 You may also need to change From address if your server does not allow to send from the address which does not belong to the local domain.
 
 The examples does not include SMTP authentication section. You can find how to use authentication at SMTP Authentication sample.
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |