Sending MimeMessage with text/plain

Sending MimeMessage with text/plain SearchSearch
Author Message
Latitude De
New member
Username: Latitudede

Post Number: 16
Registered: 07-2009
Posted on Thursday, July 23, 2009 - 12:49 pm:   

Hi,
I tried sending following MimeMessage using MM7 but failed.

Message-ID: <4932403.0.1248344807476.JavaMail.latitude@DE-L-lat>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

hello world

If I send MimeMessage with Content-Type: multipart/mixed; then it works.

Thanks.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1067
Registered: 08-2008
Posted on Thursday, July 23, 2009 - 03:27 pm:   

Hi,

What is the complete MM7 request? (Obviously that is a small part of the overall request.)

What errors occur to indicate a failure?

--
Des
NowSMS Support
Latitude De
New member
Username: Latitudede

Post Number: 17
Registered: 07-2009
Posted on Thursday, July 23, 2009 - 04:36 pm:   

text/plainMM7 message
mm7_message_without_attachment.txt (2.3 k)


Attached MM7 message. Kindly review.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1068
Registered: 08-2008
Posted on Thursday, July 23, 2009 - 07:32 pm:   

The error description looks accurate:

"Closing MIME boundary for second content part not found"

There is no MIME boundary to end the "text/plain" content piece.

This would be expected to close the overall MIME multipart envelope:

------=_Part_27_23956784.1248363099254--