Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-04-2008, 01:01 PM
Junior Member
 
Posts: 5
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!
Reply With Quote
  #2 (permalink)  
Old 09-09-2008, 10:46 AM
Junior Member
 
Posts: 5
Default

Anyone?
Reply With Quote
  #3 (permalink)  
Old 09-15-2008, 11:43 AM
Junior Member
 
Posts: 5
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);
				}
			
			}
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.