I have created a messaging server using the MAPI ActiveX control. Works great, except I would like to create returns in the text so that the message body is formatted like this:
Body of Message-
Machine #: 17245
Idle Time: 56 min.
Next Service Due: 12 days
not like this, which is currently being generated:
Body of message-
Machine number 17245 has been idle for 3 hours 5 min. and is due for service in 12 days
OLEMAPIMsg.MsgNoteText='Machine number '+machine.id+' has been idle for '+minute(machinelog.idletime)+' minutes and is due for service in '+(machine.pmdate-date())+' days'