Rock X_Zero
10th September 2008, 21:29
Hi, i´m new here ^^
I´m actually trying to create a session with the purpose to send e-mails through it, but i´m having some troubles. I tried the example in "How to use the eMessage Connector API to construct and send a message", but it can´t compile the script, it says: "Unresolved reference to function" to all the functions that start with cmf. Any help is welcome

Thanks.

NPRao
10th September 2008, 22:52
It is not clear from your profile which Baan version are you writing your code - Baan IV or LN?

CMF is not available in Baan IV version, it is available Baan V onwards.

If you are on LN, add the appropriate include in your code -

#include <bic_cmf> |* CMF handler

Rock X_Zero
11th September 2008, 20:37
well, for the baan IV I decided to call a .bat file to send the e-mail. In LN, I just used my old script with the include that you mentioned and it worked! thanks, like you said it´s not possible to use cmf functions in Baan IV.

abattoir
12th September 2008, 10:37
actually even i want to u this functionality of email in LN but what i want to know all the pre requiisites reqd in order to run this session.
By pre-requisites i mean what all i will have to configure in my server so as to use e message connector service.
Any input will be highly apppreciated.

Cheers,
abattoir

MilindV
12th September 2008, 11:29
Hello

I am also trying to send mail from baan. So i created on session. and For a form command function i copied the code from help file(user guide) made required changes. But when the control goes to the "cmf.startService()", Service Provider" session gets open and process stops on this session only. After this nothing happens.
After this when i saw the provider parameters session, here parameter value field's value is ${BSE}\bin\cmfuiadap.exe(server path), but cmfuiadap.exe file is not present in bin instead this file is on my local machine C:\Program Files\Baan\Baan Windows\bin. So any kind of help will be very much useful.

Thanks

abattoir
12th September 2008, 12:20
Can anyone guide me how to start the SSA ERP LN emessage Connector service.

cheers,
Abattoir

NPRao
12th September 2008, 22:09
Refer to the following doc in the Documentation CD
Infor Enterprise Server 8.4
System Administrator's Guide for eMessage Connector

Document code: U8307C US
Release: Infor Enterprise Server 8.4
Publication date: June 07

MilindV
15th September 2008, 10:31
I solved my problem.:D
Now I am able to send the mail, through a session which i developed for trial purpose.
Actually the problem was in the settings in service provider session. In this session there is a field 4GL connector.
In this field the earlier value was ttcmf011m000, which is a session code for the service provider session itself.
This was the reason why the service provider session was getting started.
Now, I have changed this value to "ttcmfoutlook" as I am using OUTLOOK.

Thanks to all of You.