getting different error now. please need your suggestions.
Rule:
=Valid(PUT ( "EMAIL" ," -PR INET -SERVER 'LOCALHOST' -TO rudyg@gmail.com -FROM dineshv@gmail.com -ATTACH 'Bad Data.txt' -SUBJECT 'Files Contains Bad Data' -TEXT 'Please see the attatched text file' -T Emailtrace.dat"
,PACKAGE(Reject)), Fail("error sending email" + LASTERRORCODE()+": "+ LASTERRORMSG())
)
Trace File:
e-mail Adapter, Version 8.1(114)
Copyright © 2004, IBM Corporation. All rights reserved
Built for WIN32 - INTEL on Sep 15 2006 at 22:18:11.
Retry Count is 0. Retry Interval is 0. OnFailure is Rollback.
Fetch Unit is 0. Card Mode is Integral.
Will process 143 bytes of data.
Run Started at 09:57:28.781 on 05/20/08.
GetMailCoreInfo: Successful.
e-mail Adapter, Version 8.1(114)
Copyright © 2004, IBM Corporation. All rights reserved
Built for WIN32 - INTEL on Sep 15 2006 at 22:18:11.
Retry Count is 0. Retry Interval is 0. OnFailure is Rollback.
Fetch Unit is 0. Card Mode is Integral.
Will process 143 bytes of data.
Run Started at 09:57:28.782 on 05/20/08.
Options used: trace,name,subject,attach,text,server,to,name,from,name,proto
SMTP Gateway 'LOCALHOST' will be used.
e-mail Adapter, Version 8.1(114)
Copyright © 2004, IBM Corporation. All rights reserved
Built for WIN32 - INTEL on Sep 15 2006 at 22:18:11.
Retry Count is 0. Retry Interval is 0. OnFailure is Rollback.
Fetch Unit is 0. Card Mode is Integral.
Will process 143 bytes of data.
Run Started at 09:57:28.782 on 05/20/08.
GetMailCoreInfo: Successful.
[WSAStart: Entering]
[WSAStart: bWSStarted = 0, nWSClients = 0]
[WSAStart: Attempting WinSock initialization.]
[WSAStart: WinSock initialized successfully.]
Windows Sockets Version 1.1 will be used.
Windows Sockets Version 2.2 is supported.
Windows Socket Description is 'WinSock 2.0'.
Windows Socket System Status is 'Running'.
Windows Socket supports up to 32767 socket(s).
Windows Socket supports UDP datagram of up to 65467 bytes.
Windows Socket has no additional vendor-specific information.
Sockets Client ID 1 enabled.
[WSAStart: Exiting (rc = 1)]
Wrote 143 bytes to C:\Users\dineshv\AppData\Local\Temp\739B.tmp.
Filename 'Bad Data.txt' will be used in the outbound message.
Originator is dineshv@buy.com.
Recipient #1 is rudyg@buy.com.
Rollback specified; returning to map engine.
Cleanup call from prior Rollback; re-initializing instance storage.
Map return is 0.
Wrote Header: Date: Tue, 20 May 2008 09:57:28 -0700 (PDT)
Wrote Header: X-Mailer: IBM WebSphere DataStage 1.0.6
Local host is 'wsd-dineshv'.
Client host is 'buy.com'.
Server host is 'LOCALHOST'.
Connecting to 'LOCALHOST'.
Socket Opened.
WSAConnect: Connect refused.
No connection.
Socket Closed.
Connection closed.
Attempt #1 failed, no more retries allowed.
WSASelect: One or more of the descriptor sets contains an invalid socket.
WSASelect: One or more of the descriptor sets contains an invalid socket.
WSACloseSocket: Invalid socket descriptor.
[WSATerm: Entering]
[WSATerm: bWSStarted = 1, nWSClients = 1]
Sockets Client ID 1 disabled.
[WSATerm: nWSClients remaining = 0]
[WSATerm: Attempting WinSock shutdown.]
[WSATerm: Exiting]
[WSATerm: Entering]
[WSATerm: bWSStarted = 0, nWSClients = 0]
[WSATerm: Exiting -]
Data in C:\Users\dineshv\AppData\Local\Temp\739B.tmp deleted.
Run Terminated at 09:57:29.833 on 05/20/08.