How to use Simple MAPI without mail client? - c++

Has a Windows Server 2008 R2 without mail client and not option to install any mail client to this server.
I write a service what is use Simple MAPI to get email from exchange server.
Already install ExchangeMapiCDO 1.2.1.
Use MFCMapi 15 to create a profile and add to profile the Exchange service.
When i start the service drop an error message from MAPI initalization. The message is:
There is no email program assoxiated to perform the requested action. Please install an email program or, if one is already installed, create an association in the Default Programs control panel.
I need some thing to install to? (Email program is not option) Or i need create/set reg.key?

As Dmitry Streblechenko written below, ExchangeMapiCDO 1.2.1 does not support the Simple MAPI Interface.

The error message says it all. "install an email program". That is the only option. MAPI is a protocol to talk to email programs. No email program, no MAPI.

Related

How to use external email client in Vtiger?

I use vtiger 7.1 on my Linux server and I want to use my email client (Thunderbird)
I removed check from Settings-> My Preference -> internal email composer
But nothing happened... I still obtain the internal email composer of Vtiger.

How to configure Django such that emails are sent by both smtp, and to a log file?

I'm frequently plagued by the complaints that email from a django application running on its own Ubuntu LTS 16.04 server, is not being received. Typically these are the password change request emails, so they're part of the standard Django Auth module as I understand it.
Django's sendtestemail appears to work reliably, and many of the expected emails are actually sent and received (from what we can discern). The smtp setup is such that EMAIL_HOST is set to an smtp server on the same network that supports anonymous message relay (from servers on the same network only), and the EMAIL_BACKEND is the typical django.core.mail.backends.smtp.EmailBackend. Using the console backend for testing shows that emails are triggered as we would expect on these various events.
So, what I want to be able to do, is to have both email sent out via the smtp relay as expected, but also be added to a log file, and for this to happen for all emails generated by all the email events in the Django app.
Is this possible using django configuration?
If not, can you recommend a method by which I can both send and log the emails?
Bonus query - can the solution allows me to resend an email using the original content?

Vtiger : How we have to manage Email thread on Lead Module?

We are sending email to customer from Lead module and email sent to customer successfully from Vtiger. also we have integrate Mail Manager
in Vtiger.
i can also see that email in Sent box.
now, When Customer will give reply for that mail which i have sent from Lead module that will automatically appear in Lead Module Email Tab. right now i am getting am reply in Mail Box but i need log email in Lead section with particular customer replay.
Please help me if anyone solution..
It's by default functionality which is provided by Vtiger CRM.
We have configure Mail Scanner and select folder which we have to scan.
also, we have add condition or rule for this what we have to do if we can get result while scanning.
Please check status for MailScanner in vtiger_cron_task table. it must be 1.
also we have to set vtigercron.php in cronjob.
you can also run vtigercron.php in console on server with below command
php vtigercron.php
After success full scan you can get below message
Please Let me know if you have any question.

WSO2 Identity password recovery

I am trying to send the password recovery notification using our own communication framework (The framework sends SMS and Android notification in addition to the email notification) by following the link Recover with Notification.
Notification.Sending.Internally.Managed=true
This enables the internal email sending module. If false, the email sending data is available to the application via a Web service. Thus the application can send the email using its own email sender.
Can any one please point me to the webservice that can be used to obtain the 'email sending data' as mentioned in the documentation.
i'm not aware of any webservice to receiving email sent from the notification module.
However, you can build a custom notification module and add in component/lib/ folder. see the below link for information and sample code
http://xacmlinfo.org/2015/09/07/custom-notification-module-for-account-management-in-wso2-identity-server-wso2is/

KRB_AP_REQ ticket from SSPI

I have a Linux server application that is using Kerberos for client authentication and client that needs to run on Windows. Kerberos tickets are issued by Windows Active Directory. Client authenticates successfully on server if I use MIT KfW 3.2.2. API for retrieving AS and TGS tickets from Kerberos server and store them in kerberos credentials store. But the problem with this approach is that user needs to input his credentials again.
The solution would be to access MS LSA store but this does not work. Neither does ms2mit.exe application. It does not matter if I run it as normal user or as administrator, or if I disable UAC completely.
This is why I would like to use SSPI on client to make the KRB_AP_REQ message which I would send to server. Is that possible. If yes how can it be done? IF no, what are my other options? Please note that server is already built and it would require significant effort to change it, therefore I would like to find a solution on windows.
You can use the AquireCredentialsHandle and InitializeSecurityContext functions of the windows SSPI subsystem to get a valid ticket and authenticate against a Linux based server.
First use AcquireCredentialsHandle() and than use multiple calls to InitializeSecurityContext with the tokens you get from your server until your authenticated.