cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: error "451 Invalid Smtp line - Should end with CRLF"

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Thu, 25 Nov 2010 18:51:52 +0100

 
Amr Oreaba wrote:

> the mail was sent but with no subject-this was not set so i can see
why- but no from and no to and no body!!! that's i do not understand.

Displayed sender, recipient(s) and subject are MIME headers. If you want
to transmit anything else than 7-bit ASCII text, you MUST use MIME
formatting and encoding:

Multipurpose Internet Mail Extensions (MIME) Part One: Format of
Internet Message Bodies http://www.rfc-editor.org/rfc/rfc2045.txt
Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types
http://www.rfc-editor.org/rfc/rfc2046.txt
MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header
Extensions for Non-ASCII Text http://www.rfc-editor.org/rfc/rfc2047.txt

You can search other RFC related stuff here:
http://www.rfc-editor.org/rfcsearch.html

But this is your data and therefore out of libcurl's scope.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-25