Originally posted by: Vana
Hi,
I have a file containing 5 email addresses
abc@abc.com def@def.com ghi@ghi
jkl@jkl.com mno@mno.com My map sends a text message "Hello World" to the above five email addresses using the PUT function.
=VALID( PUT( "EMAIL" , "-SERVER mail.xyz.com -SUBJECT Hi -FROM
pqr@pqr.com -TO " + Cust_Email Elements:In1 , " -T" ) , FAIL( "" ) )
My map is sending the message only to the first two. My map is failing at third. (I deliberately put an invalid e-mail address there).
The trace file shows the following message ....
<hr />
501 Syntax error in address ghi@ghi (F)
Cannot deliver to recipient #1 (ghi@ghi).
Attempt #1 failed, no more retries allowed.
<RSET
250 OK (S)
<QUIT
221 Closing connection. Good bye. (S)
Socket Closed.
Connection closed.
WSATerm: Entering WSATerm: bWSStarted = 1, nWSClients = 393 Sockets Client ID 393 disabled.
WSATerm: nWSClients remaining = 392 WSATerm: Exiting -- Data in D:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\47C.tmp deleted.
Run Terminated at 17:00:13.437 on 11/20/07.
<hr />
Can someone please tell me how to implement validation here.
Thnx in advance.
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender