[Gambas-user] SMTPClient message format issue

Ron ron at ...1740...
Thu May 29 12:07:56 CEST 2008


Hi,

Hereby a request to add a flagfield, apply a bugfix or correct working 
logic to smtpclient to be able to sent really plaintext messages with it.

A plaintext message should look like this: for example:
--- cut ---
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

BODY
--- cut ---

But if you sent simple textbody with smtpclient it results in this:
The content-type is first set to multipart/mixed, and later to text/plain.

--- cut ---
Mime-Version: 1.0
Content-Type: multipart/mixed; 
boundary="----_=_libsmtp_Nextpart__000_000007DA.3B95D19_1"
Content-Transfer-Encoding: 7bit
Message-Id: <20080529094221.876B542B6 at ...1915...>
Date: Thu, 29 May 2008 11:42:21 +0200 (CEST)

This is a MIME multipart message. Your mail reader isn't MIME capable.
You might not be able to read parts or all of this message.



------_=_libsmtp_Nextpart__000_000007DA.3B95D19_1
Content-Type: text/plain; name="MIME part #0"; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

BODY=0D
- Powered by Lighthouse V0.0.63 -=0D


------_=_libsmtp_Nextpart__000_000007DA.3B95D19_1--

--- cut ---

I want to be able to sent command per e-mail to my aibo, but it doesn't 
grok these, just really plaintext, non multiparted ones.

Gambas 2.6.0

Thanks,
Ron.





More information about the User mailing list