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

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 01-02-2009, 06:28 AM
Trained Alumni
 
Posts: 43
Default [SOLVED] script for store mail messagges in draft folder...

Hi all and Happy New Year,
I'll need an idea to find a solution for this:
I have to load a formatted text files to Draft Folder of a zimbra user for later review.
the format of text file is:
recipient address,
sendere addrss,
subject,
message text

I'm thinking to parse with a shell script the file, but I don't know how to store the message in the Draft folder.
Thanks for any suggettions
Ciao
Alessio
Reply With Quote
  #2 (permalink)  
Old 01-02-2009, 07:13 AM
Trained Alumni
 
Posts: 43
Default

ops...
Find this:

zmmailbox -z -m test@testdomain.com am -F draft Drafts $PWD/test.msg

but still missing something...
How can I add attach a pdf file to test.msg?
Reply With Quote
  #3 (permalink)  
Old 01-02-2009, 08:15 AM
Trained Alumni
 
Posts: 43
Default Bash tool

this tool to the dirty work ;-)

http://mmj.dk/biabam/biabam-0.9.7.tar.gz
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.