On 07/01/2011 09:22, Dominic Benson wrote:
>> To: ...@...
>> From: ...@...
>>
>> Content-type: text/html
>>
>> <html><body><b>test</b></body></html>
>>
>>
>> I tried everything but nothing helped so far.
>> Is there a solution for that problem?
>>
>
> You need a MIME structure for the message to get it to be treated as HTML - see http://en.wikipedia.org/wiki/MIME for a reasonable start to what you need to do.
AFAIK, it's valid to put raw HTML in a message body if you set the
Content-type header to "text/html" rather than "multipart/*". The
problem he is having is with the newline which is shifting the
Content-type header into the message body.
> This isn't anything to do with Exim!
True. This is just the way cron works.
--
Mike Cardwell
https://secure.grepular.com/ https://twitter.com/mickeyc
Professional
http://cardwellit.com/ http://linkedin.com/in/mikecardwell
PGP.mit.edu 0018461F/35BC AF1D 3AA2 1F84 3DC3 B0CF 70A5 F512 0018 461F