Results 1 to 3 of 3

Thread: [SOLVED] Forward a message w/ attachments?

  1. #1
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    7

    Default [SOLVED] Forward a message w/ attachments?

    I'm trying to forward a message with all attachments, preferably without any >> before each line or anything like that.

    Currently I'm getting the message contents and making a soap call to send a new email with the same data, but this isn't going to work for emails with attachments.

    Does anyone have a working code sample to go off of or maybe a pointer in the right direction? I can't find the code in zimbra that handles the forward menu option when you right click on an email.

    thanks!

  2. #2
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    7

    Default

    Anyone?

  3. #3
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    7

    Default

    Code:
    			if (msg.attachment) {
    				var node_attach = soapDoc.set("attach", null, m);
    
    				for (partid in msg.attlinks) {
    					var node_mp = soapDoc.set("mp", null, node_attach);
    					node_mp.setAttribute("mid", msg.id);
    					node_mp.setAttribute("part", msg.attlinks[partid].part);
    				}
    			
    			}

Similar Threads

  1. Emails bouncing with "Error Text: 401,'null'"
    By sholden in forum Zimbra Connector for Outlook
    Replies: 27
    Last Post: 08-20-2008, 05:59 PM
  2. Replies: 5
    Last Post: 08-05-2008, 11:25 AM
  3. Replies: 3
    Last Post: 12-10-2007, 05:27 PM
  4. Replies: 2
    Last Post: 05-20-2006, 10:34 PM
  5. Forward | bounce message as a filter action
    By dfaulkner in forum Developers
    Replies: 3
    Last Post: 02-23-2006, 11:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •