0

SaveRawMessage API combines header and body

Hi,
I'm trying to use the SaveRawMessage. I am able to send a base64 text to the server and everything seems to be OK except for the api is messing up the header and body of the message.
this is the mime message I'm uploading:
_________START MIME SAMPLE_________

Message-ID: <3923625B.59F0C3AC@example.com>
Date: Wed, 17 May 2000 23:24:11 -0400
From: Doug Sauder <dwsauder@example.com>
MIME-Version: 1.0
To: Joe Blow <blow@example.com>
Subject: Test message from Netscape Communicator 4.7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

The Hare and the Tortoise 
 
A HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing:  "Though you be swift as the wind, I will beat you in a race."  The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal.  On the day appointed for the race the two started together.  The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course.  The Hare, lying down by the wayside, fell fast asleep.  At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue.  
 
Slow but steady wins the race.
______END MIME SAMPLE_____

and this is the result header on the yahoo mailbox:

________START____YAHOO___MB______HEADER____
From Doug Sauder Wed May 17 20:24:11 2000
X-RocketMail: 00000001;R---S-----------;2561
X-RocketUID: 0000000000
X-RocketRCL: ;;;0
X-RocketYMUMID: ABfTimIAACI5TmJDigTYMkRy7h8
X-RocketMIF: 1315062666;1183;
Received: from [209.191.106.44] by mail.yahooapis.com via HTTP; Sat, 03 Sep 2011 15:11:06 UTC
Message-ID: <3923625B.59F0C3AC@example.com>
Date: Wed, 17 May 2000 23:24:11 -0400
From: Doug Sauder <dwsauder@example.com>
MIME-Version: 1.0
To: Joe Blow <blow@example.com>
Return-Path: <blow@example.com>
Subject: Test message from Netscape Communicator 4.7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
The Hare and the Tortoise 
 
A HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing:  "Though you be swift as the wind, I will beat you in a race."  The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal.  On the day appointed for the race the two started together.  The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course.  The Hare, lying down by the wayside, fell fast asleep.  At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue.  
 
Slow but steady wins the race.
Content-Length: 0
________END____YAHOO___MB___HEADER_____


Please help.
Asaf.

by
0 Replies

Recent Posts

in Yahoo! Mail Web Services API