dnnslbrwn
19th December 2003, 19:29
I am creating a new session (and table) where one of the secondary indexes will be the user's e-mail address where they want status reports to be sent to. What I would like to do is validate the address as they enter it - by asking our mail server if that address exists (via telnet to port 25 maybe?).

Anyone have any ideas? Most, if not all, addresses will be our employees with their mail accounts on the local e-mail server which is M$ Exchange.

I am thinking I would ultimately like a small UNIX shell script that I could call from BAAN with the e-mail address as a parameter and it would either return 0 or 1 if it could find the address or not when talking to our exchange server.

-Dennis

NPRao
19th December 2003, 22:02
Dennis,

I am not sure if CMF options are available for your BaaN version.

You can explore using the functions -

cmf.resolveAddress() (http://www.baanboard.com/programmers_manual_baanerp_help_emessage_connector_cmf_resolveaddress)

cmf.createRecipient() (http://www.baanboard.com/programmers_manual_baanerp_help_emessage_connector_cmf_createrecipient)

dnnslbrwn
19th December 2003, 22:17
NPRao,

Don't think those work down here in BAAN IV land... we don't even have tables tccom130/131 that I see referenced in the first link above.

Cheers,

-Dennis