[mail smtp] Including a full name in header fields
[1/8] from: gregg:pointillistic at: 12-Dec-2008 12:26
Has anyone modified SEND and the SMTP scheme to support the inclusion
of a name, along with the email address, in the mail header?
-- Gregg
[2/8] from: compkarori:gmai:l at: 12-Dec-2008 21:19
Gregg
What do you mean?
On Sat, Dec 13, 2008 at 8:26 AM, Gregg Irwin <gregg-pointillistic.com> wrote:
> Has anyone modified SEND and the SMTP scheme to support the inclusion
> of a name, along with the email address, in the mail header?
>
> -- Gregg
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
--
Graham Chiu
http://www.synapsedirect.com
Synapse - the use from anywhere EMR.
[3/8] from: gregg:pointillistic at: 12-Dec-2008 13:17
Hi Graham,
>> Has anyone modified SEND and the SMTP scheme to support the inclusion
>> of a name, along with the email address, in the mail header?
GC> What do you mean?
I want the TO line to say:
Graham Chiu <compkarori-gmail.com>
not just
compkarori-gmail.com
I thought using send/header would work, but it looks like non-email
elements are removed intentionally.
-- Gregg
[4/8] from: compkarori::gmail::com at: 12-Dec-2008 21:20
Gregg
In prot-esmtp.r, you have this
foreach addr data/2 [
confirm-command port ["RCPT TO: <" addr ">"]
]
so there is no way you can send the persons name without modifying this first.
On Sat, Dec 13, 2008 at 9:17 AM, Gregg Irwin <gregg-pointillistic.com> wrote:
> Hi Graham,
>>> Has anyone modified SEND and the SMTP scheme to support the inclusion
<<quoted lines omitted: 10>>
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
--
Graham Chiu
http://www.synapsedirect.com
Synapse - the use from anywhere EMR.
[5/8] from: gregg:pointillistic at: 12-Dec-2008 14:29
Hi Graham,
GC> In prot-esmtp.r, you have this
GC> foreach addr data/2 [
GC> confirm-command port ["RCPT TO: <" addr ">"]
GC> ]
GC> so there is no way you can send the persons name without modifying this first.
I saw that too. I was wondering if someone else had already addressed
all the issues in both SEND and the scheme.
-- Gregg
[6/8] from: dechert::gmail::com at: 12-Dec-2008 12:07
I think I know what Gregg meant. I asked this question some years ago.
Most email clients will put the recipient's name in the header...
From: "My Name" <my.name-mydomain.com.org>
To: "Her Name" <her.name-herdomain.com>
Using send, you just have the email addresses, not the name.
Alan Dechert
[7/8] 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
name
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.
Regards,
Gabriele.
[8/8] from: gregg::pointillistic::com at: 13-Dec-2008 11:06
Thanks Gabriele!
I noticed that /only didn't mod things, but hadn't gotten to reading
any specs.
-- Gregg
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted