Body of forwarded messages is 0 length

Use this forum if you have problems with a hMailServer script, such as hMailServer WebAdmin or code in an event handler.
Post Reply
User avatar
Rainer
Normal user
Normal user
Posts: 166
Joined: 2007-06-21 13:40
Location: Zweibrücken - Germany

Body of forwarded messages is 0 length

Post by Rainer » 2010-12-13 14:21

Hello, why the body of forwarded messages is length=0?

This following code inserted in function OnAcceptMessage shows 0 only for forwarded messages.
Is the message a origin message, the length will be showd correctly!

EventLog.Write("Len(oMessage.Body) = " & Len(oMessage.Body))
EventLog.Write("Len(oMessage.HTMLBody) = " & Len(oMessage.HTMLBody))

Kind regards :)
Rainer Noa

Post Reply