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

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 10-17-2009, 03:52 AM
Junior Member
 
Posts: 6
Default How to create message with attachments.

Hi everyone.

I need an advice.
Is the any way in ZCS to create new e-mail message in browser window with attached files?

I've seen great link Mailto Links and Zimbra [How to] - Zomgee

Author suggests to use link like .../zimbra?app=mail&view=compose&to=abbeyvet@outfront. net&bcc=apple@apple.com&subject=Hello%20Katherine& body=test

It works but w/o attachments.

As I see I have to use SOAP calls for my purpose.

Dear all. Honestly speaking I'm new in SOAP and etc.

Could someone point me the right way how to make massage with predefined attachment.
I'm going to call special script on client's computer and transfer attachment as parameter.

It should be something like
user$ send_by_zimbra.sh ./file.txt user2@foo.com "Mail Subject"

Thank you in advance.
Reply With Quote
  #2 (permalink)  
Old 10-17-2009, 10:00 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Why not just use the standard SMTP service? Unix has great support for it.

Your best bet on actions like this is to install firebug on your browser. Turn on network tracing, and then send a email with a attachment. That will reveal the soap call that zimbra uses to deliver mail to the server.

The other option - if you are delivering to a local user - is to use the LMTP port?
Reply With Quote
  #3 (permalink)  
Old 10-18-2009, 04:00 PM
Junior Member
 
Posts: 6
Default

Thank you for response.
I will try to trace it via Firebug.

The only one question is disturbing me.
Am I right that I can call procedure of the mail creation on the client's browser side w/o any client's actions by magic SOAP request from my 3rd party software ?
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.