[Info-vax] SMTP addresses converted to uppercase :(

Jim mckinneyj at saic.com
Tue Dec 8 13:53:33 EST 2009


On Dec 8, 12:32 pm, JF Mezei <jfmezei.spam... at vaxination.ca> wrote:
> Pierre wrote:
> > $ mail NL:/subj="test" "u... at host.domain"
> > the address is is changed to U... at host.domain.
>
> > but if I use
> > $ mail NL: /subj="test" SMTP%"u... at host.domain"
> > the case is preserved
>
> In the first case, the quotes prevent DCL from uppercasing your argument
> (and processing the @). But when MAIL gets it, it uppercases the whole
> username (including domain name).
>
> In the second case, Mail only looks at the SMTP% and sends the rest to
> the SMTP shareable image, it doesn't parse what is beyond the % sign.


Try triple-quoting which should escape transformation by both DCL and
MAIL (DCL will eat the outermost and transform the remaining pairs on
each end to singles before passing the string to MAIL) :

$ mail NL:/subj="test" """u... at host.domain"""







More information about the Info-vax mailing list