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

    Mail Send from Windows Application

    Kopano DeskApp
    3
    6
    2209
    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.
    • vwrcs
      vwrcs last edited by

      Hello everybody,

      I try to send a mail from an Windows application.
      The e-mail address given by the application is not accepted.
      The subject and the possible file attachment is accepted in the generated mail.
      What is wrong?

      WebApp: 3.3.0.509-384.1
      Kopano Core: 8.4.0-22
      DeskApp: 1.2.67

      Best regards

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

        Hi vwrcs,

        To help understand this problem better, could you clarify with e.g. screenshots or steps?

        https://documentation.kopano.io/deskapp_admin_manual
        http://documentation.kopano.io/webapp_smime_manual
        https://documentation.kopano.io/webapp_admin_manual

        1 Reply Last reply Reply Quote 0
        • vwrcs
          vwrcs last edited by fbartels

          Hi marty,

          our program uses the call via the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Kopano DeskApp\shell\open\command

          --create --mailto=mailto:?subject=test?attach=... is passed as parameter.
          The email address is missing, So an error from our program.

          Is it possible to log the calls to the deskappmapi.dll ?

          1 Reply Last reply Reply Quote 0
          • vwrcs
            vwrcs last edited by fbartels

            Hi marty,
            I think the problem is nevertheless the kopanomapi.dll.
            https://stash.kopano.io/projects/KD/repos/kopano-deskapp/browse/windows/Deskapp VS/Deskapp MAPI/main.cpp

            Line 103

             * TODO: Add recipients if needed
            	 */
            	
            	sCommand += sDeskappCommand; // path to deskapp.exe
            	sCommand += TEXT(" --create");
            	if (lpMessage->nFileCount > 0) {
            		sCommand += TEXT(" --mailto=mailto:?attach=");
            		sCommand += sAttachments;
            	}
            

            Only the attachment is accepted.

            1 Reply Last reply Reply Quote 0
            • vwrcs
              vwrcs last edited by

              Hi marty,

              I have adapted the kopanomapi.dll. Now the recipients, the subject and the mail text are accepted.
              If necessary, I can make the changes available.

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

                Hi vwrcs,

                sorry didn’t see your post until now…
                Would be ultimately awesome if you could share your efforts.

                Cheers,
                Björn

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