Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    compose mail with Kopano-DeskApp from cmd (shell)

    Kopano DeskApp
    2
    3
    614
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • msauer
      msauer last edited by

      Hi,

      I’m trying to compose an Email from the command line interface with the Kopano DeskApp and Win7. I’m able to compose the Email with Mozilla Thunderbird because I know the parameter to compose a new email.

      0_1528356713658_180607_Email_CMD_TB.jpg

      Does the Kopano-DeskApp provides also an option to launch the application with a similar parameter?

      We are running:
      Kopano Core: 8.5.9
      WebApp 3.4.13.1464+59.1
      Kopano DeskApp 1.9.0

      Thanks in advance and kind regards,
      Mathias

      1 Reply Last reply Reply Quote 0
      • bjoernneumann
        bjoernneumann Kopano (Inactive) last edited by

        Hi @msauer,

        yes. There are two options.

        By mailto uri with additional attach.
        deskapp.exe --mailto=<uri>

        Or by multiple commandline params like:
        deskapp.exe --create --to="abc@def.de" --body=“the body” --attach=<path to attach1> --attach=<path to attach2>

        See all params here: https://stash.kopano.io/projects/KD/repos/kopano-deskapp/browse/src/app/modules/getopt.js#8
        All ARG+ params may be passed multiple times. ARG only once.

        msauer 1 Reply Last reply Reply Quote 0
        • msauer
          msauer @bjoernneumann last edited by

          Hi @bjoernneumann,

          Thanks for the quick response. Believe it or not, but I tried already “-create” instead of “–create”, because I saw this https://forum.kopano.io/topic/138/mail-send-from-windows-application/4 entry.

          Anyway, Thank you very much for your help. Now I can continue my work on the code.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post