[REBOL] Re: [mail smtp] Including a full name in header fields
From: santilli::gabriele::gmail::com at: 13-Dec-2008 10:10
On Fri, Dec 12, 2008 at 9:47 PM, Graham Chiu <compkarori-gmail.com> wrote:
> In prot-esmtp.r, you have this
> foreach addr data/2 [
> confirm-command port ["RCPT TO: <" addr ">"]
Wait, that has nothing to do with the email header. You CANNOT put a
there, the SMPT protocol does not allow that.
> so there is no way you can send the persons name without modifying this first.
The problem here is that SEND is not too smart about the handling of
/ONLY. SEND/ONLY/HEADER will work.
send/only/header someaddress-host "message" make system/standard/email [
To: "Anything you want"
Note that SEND is still expecting From: in the header to be an email!,
which may not be what you want. I'd rather use esmtp:// directly in
cases like this.