Plex 2E

Expand all | Collapse all

SMTP Mail without using OBMAPI

Jump to Best Answer
  • 1.  SMTP Mail without using OBMAPI

    Posted 11-04-2015 03:05 PM

    Has anyone managed to write an C++ API to use SMTP mail (not MAPI) in a C++ function with plex?

     

    the examples i can find - refer to managed C++ and I have managed to get the .NET c# working fine - but I need to implement similar code to an existing WinC function

     

    the Microsoft example  - i cannot get to work - Any ideas ?

     

     

    https://msdn.microsoft.com/en-us/library/aa332887(v=vs.71).aspx



  • 2.  Re: SMTP Mail without using OBMAPI

    Posted 11-06-2015 11:51 AM

    Hi Wayne,

    Hope you are doing good.

     

    We are using for Exchange integration 3rd party library CHILLKAT. It has an easy interface and works robust.
    http://www.chilkatsoft.com/downloads_vcpp.asp

     

    Cheers,

     

    Michael



  • 3.  Re: SMTP Mail without using OBMAPI

    Posted 11-06-2015 12:14 PM

    looks good - Unfortunatly using a 3rd party library will be be a challenge due to the approval process that I will have to go thru to even have it considered  for use  - and the process server will not have an exchange account to link to - will keep looking for a simple solution -



  • 4.  Re: SMTP Mail without using OBMAPI
    Best Answer

    Posted 11-06-2015 01:01 PM

    Wayne -

     

    You could reuse your existing C# code. Write a wrapper around your existing functionality in C# and make it COM visible. Then import the TypeLib into Plex via COM Import. 

     

    Best regards

    Lorenz