Hi wysota,
Here is what I have been trying...
//Message to SMTP
HELO there
MAIL FROM: <xyz@gmail.com>
RCPT TO: <abc@yahoo.com>
DATA
Content-Type: multipart/related; boundary=unique-boundary-1
--unique-boundary-1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7Bit
Content-Disposition: attachment; filename=fileName
MIME-Version: 1.0
From: xyz@gmail.com
To: abc@yahoo.com
Subject: Hello
How is going?
.
QUIT
//Message to SMTP
HELO there
MAIL FROM: <xyz@gmail.com>
RCPT TO: <abc@yahoo.com>
DATA
Content-Type: multipart/related; boundary=unique-boundary-1
--unique-boundary-1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7Bit
Content-Disposition: attachment; filename=fileName
MIME-Version: 1.0
From: xyz@gmail.com
To: abc@yahoo.com
Subject: Hello
How is going?
.
QUIT
To copy to clipboard, switch view to plain text mode
Now i"m able to receive the mail but still there is some problem. The "Subject:" and "To: " part in the mail is empty. There is no information in the "Subject:" and "To:" line.
Is there anything I'm doing wrong????
Please help.
Bookmarks