On Thu, 17 Sep 2009, Viktor Szakáts wrote: > > > i think (from a quick skim of the code) that the correct solution > > > would be deleting these three altogether, and the smtp client seems to > > > already add this in it's commit(), which should be enough (and along > > > these lines, appending anything to cbody is wrong). > > > > I've tried to remove them but then a msg with an attachment is wrong. > > > > The client shows everything as text. > > Just a guess, but that appears to be some bugs in the attachment > logic. It's strange that body needs to be hacked to make attachment > work. Pbly attachment should add any linefeeds required.
in hbtip/mail.prg:SetBody() there is: 151 METHOD SetBody( cBody ) CLASS TipMail 152 IF ::oEncoder != NIL 153 ::cBody := ::oEncoder:Encode( cBody ) 154 ::lBodyEncoded := .T. //GD needed to prevent an extra crlf from being appended 155 ELSE 156 ::cBody := cBody 157 ENDIF 158 ::hHeaders[ "Content-Length" ] := hb_ntos( Len( cBody ) ) 159 RETURN .T. maybe this has something to do with it? -- [-] mkdir /nonexistent _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
