MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » July 2008

Re: runrmtcmt and opening up excel/word/outlook, etc --- take 2



fixed

hex 0d 0a are CRLF in ASCII, and are the right characters. But, you do have to supply them in URL syntax (not with an x in front of them!)

In a URL, a hex code is %xx (replace xx with the hex value). So x'0d0a' is actually %0d%0a in a URL. In CL, you might code it as follows:

RUNRMTCMD CMD('rundll32 url.dll,FileProtocolHandler +
mailto:joe@xxxxxxxxxx?+
body=line1%0d%0a+
line2%0d%0a+
line3') +
RMTLOCNAME(whatever.example.com *IP) +
RMTUSER(xxx) +
RMTPWD(yyy)


tim wrote:
I've been able to open and populate the to, subject, and body portions of
the email, but would like to format the body a little better by adding some
line breaks. I've tried x'0A' & x'0D',but it didn't work.

Does anyone know how to add a line break?







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact