|
View previous topic :: View next topic
|
| Author |
Message |
siddhu.harpreet
New User
Joined: 02 Sep 2009 Posts: 1 Location: Chennai
|
|
|
|
I'm getting undelivered mails while i am sending mails:
BY requirement is:
I have to send the report to the customer in ZIP format which as text file in it.
My job is running fine but i m getting the below undelivered mail having errors like :
Unable to deliver mail to some/all recipients.
| Code: |
050 DATA 00100000
501 Syntax Error. No Args after 'DATA' command
050 FROM: [email protected] 00110000
500 Unknown command, 'FROM'
050 TO: [email protected] 00120000
500 Unknown command, 'TO'
050 TO: [email protected] 00130000
500 Unknown command, 'TO'
050 TO: [email protected] 00140000
500 Unknown command, 'TO'
050 SUBJECT: WR Extract 00190000
500 Unknown command, 'SUBJECT'
050 MIME-VERSION: 1.0 00200000
500 Unknown command, 'MIME'
050 CONTENT-TYPE: MULTIPART/MIXED;boundary="------------55266=15045=:257" 00210000
500 Unknown command, 'CONTENT'
050 00220000
500 Unknown command, '00220000'
050 This is a multi-part message in MIME format. 00230000
500 Unknown command, 'This'
050 00240000
500 Unknown command, '00240000'
050 --------------55266=15045=:257 00250000
500 Unknown command, '-'
050 Content-type: text/plain; charset=us-ascii 00260000
500 Unknown command, 'Content'
050 Content-transfer-encoding: 7bit 00270000
500 Unknown command, 'Content'
050 00280000
500 Unknown command, '00280000'
050 00290000
500 Unknown command, '00290000'
050 00300000
500 Unknown command, '00300000'
050 Please find attached WR EXTRACT. 00310000
500 Unknown command, 'Please'
050 00320000
500 Unknown command, '00320000'
050 00330000
500 Unknown command, '00330000'
050 Thanks & Regards 00340000
500 Unknown command, 'Thanks'
050 VID Offshore Team 00350000
500 Unknown command, 'VID'
050 --------------55266=15045=:257 00360000
500 Unknown command, '-'
050 CONTENT-TYPE: application/octet-stream; NAME="Wr_extract.zip" 00370000
500 Unknown command, 'CONTENT'
050 CONTENT-TRANSFER-ENCODING: base64 00380000
500 Unknown command, 'CONTENT' |
The Member name which is having To and from email address is as below:
HELO PLIPC1B
MAIL FROM:<[email protected]>
RCPT TO:<[email protected]>
RCPT TO:<[email protected]>
DATA
FROM: [email protected]
TO:<[email protected]>
CC:<[email protected]>
CC:<[email protected]>
SUBJECT: Wards Extract File
MIME-VERSION: 1.0
CONTENT-TYPE: MULTIPART/MIXED;boundary="------------55266=15045=:257"
This is a multi-part message in MIME format.
--------------55266=15045=:257
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
Please find attached BI EXTRACT.
Thanks & Regards
VID Offshore Team
--------------55266=15045=:257
CONTENT-TYPE: application/octet-stream; NAME="wards_file.zip"
CONTENT-TRANSFER-ENCODING: base64
Please let me know where i m making mistake because the same code is running fine in production but while testing i did some email ID change only and now its not working. |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
at first glance looks like the issue might be with the sequence numbers in the control statements
try to resubmit getting rid of the sequence numbers in cols 73-80 |
|
| Back to top |
|
 |
superk
Global Moderator

Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
| Back to top |
|
 |
Robert Sample
Global Moderator

Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
| I know from personal experience that SMTP does not expect, nor does it handle, line sequence numbers. SMTP command files must have spaces after the command all the way to the end of each record. |
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|