--- In [email protected], "Sheri" <sheri...@...> wrote: > > Any newlines in a mailto link need to be encoded as %0A. Since you put > carriage returns where you wanted newlines in the body portion, you could > replace "\r" with "%0A" > > Following works for me: > > local mytbexe=env("programfiles") ;;+ > ++?"\Mozilla Thunderbird\thunderbird.exe" > local tovar="m...@..." > local subvar="test" > local bodyvar="Body Line 1"++ > "\rBody Line 2"++ > "\rBody Line 3" > bodyvar .= replacechars("\r", "%0A") > > do(mytbexe,?"-compose mailto:"++tovar ;;+ > ++"?subject="++subvar++?"&body="++bodyvar) > > Regards, > Sheri >
Oops, in composing for email I forgot to add the needed command continuation characters for bodyvar, since I split it across multiple lines. Should have been: local bodyvar="Body Line 1"++ ;;+ "\rBody Line 2"++ ;;+ "\rBody Line 3"
