The Member name which is having To and from email address is as below:
HELO PLIPC1B
MAIL FROM:<harpreet_siddhu@satyam.com>
RCPT TO:<harpreet0817@gmail.com>
RCPT TO:<siddhu.harpreet@gmail.com>
DATA
FROM: harpreet_siddhu@satyam.com
TO:<harpreet0817@gmail.com>
CC:<siddhu.harpreet@gmail.com>
CC:<siddhu.harpreet@gmail.com>
SUBJECT: Wards Extract File
MIME-VERSION: 1.0
CONTENT-TYPE: MULTIPART/MIXED;boundary="------------55266=15045=:257"
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.
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
050 DATA 00100000
050 FROM: gmcg_vid@satyam.com 00110000
050 TO: harpreet_siddhu@satyam.com 00120000
050 TO: harpreet0817@gmail.com 00130000
050 TO: siddhu.harpreet@gmail.com 00140000
Why do you have those numbers (0011000, 0012000, 0013000, 0014000, and so on) after your commands? Seems to me as if they might cause some problems with SMTP.
Joined: 06 Jun 2008 Posts: 8696 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.