[pmmail-list] Header parse error

L.Willms pmmail-list@blueprintsoftwareworks.com
Wed, 19 Jun 2002 02:01:57 +0200 (MES)


On Tue, 18 Jun 2002 23:51:41 +0200 (MSZ), Boris Kirkorowicz wrote:

> and using REXX
> (CALL CHAROUT MSG, 'From: user1@domain.com'X2C(0D0A)
>  etc...)
> 
> I tried X2C(0A), too, just to be sure. I even took a file created by
> PMMail itself, and a file created by PMMsend. But it only worked if the
> file was sent with PMMail/PMMsend, no chance with sendmail. But only if
> I want to receive it with PMMail, no problem with other mail clients
> (see above).
> 
> As far I can see the header lines are not separated: it seems to be
> just one line, and therefore it cannot be parsed line by line.

  In REXX, instead of CHAROUT, call LINEOUT; this creates a proper line 
termination. 

  And don't forget the empty line separating the header and the body. 

Yours, 
Lüko Willms
-----------------------------------------------
Frankfurt/Main  

- pmmail-list - The PMMail Dicussion List ---------------------------
To POST to the list, send your message to:
pmmail-list@blueprintsoftwareworks.com

To UNSUBSCRIBE, send a message to mdaemon@bmtmicro.com with the first 
line of the message body being...
UNSUBSCRIBE pmmail-list@blueprintsoftwareworks.com
---------------------------------------------------------------------