sendmail TO name?

Apr 2, 2011
1,441
10
54
North Carolina, USA
I guess there is no way to specify the TO's name in the SENDMAIL command?

At least the HELP dfoesn't say anything about it...
 
Apr 2, 2011
1,441
10
54
North Carolina, USA
I sent this message at [Date: Fri, 19 Aug 2011 23:37:04 -0400] - why so long to post it?
----- Original Message -----
From: Charles G
To: CSGalloway@nc.rr.com
Sent: Saturday, August 20, 2011 02:40 AM
Subject: [Support-t-3089] sendmail TO name?


I guess there is no way to specify the TO's name in the SENDMAIL command?

At least the HELP dfoesn't say anything about it...
 
Apr 2, 2011
1,441
10
54
North Carolina, USA
I know about the TO's address but I was asking about the TO's name......
----- Original Message -----
From: rconn
To: CSGalloway@nc.rr.com
Sent: Saturday, August 20, 2011 10:10 AM
Subject: RE: [Support-t-3089] sendmail TO name?


Quote:
> I guess there is no way to specify the TO's name in the SENDMAIL command?

It wouldn't be much use if you couldn't!

Sendmail address subject text

Where "address" is the destination.

Rex Conn
JP Software
 
May 20, 2008
11,400
99
Syracuse, NY, USA
On Sat, 20 Aug 2011 14:35:20 -0400, Charles G <> wrote:

|I know about the TO's address but I was asking about the TO's name......

This just worked:

Code:
sendmail "Vincent E. Fatica <vefatica@foo.bar>" test hello!
 
May 20, 2008
11,400
99
Syracuse, NY, USA
On Sat, 20 Aug 2011 14:35:20 -0400, Charles G <> wrote:

|I know about the TO's address but I was asking about the TO's name......

This just worked:

Code:
sendmail "Vincent E. Fatica <vefatica@foo.bar>" test hello!

But the forum screwed it up by removine some text. Inside SENDMAIL's address was

"Vincent E. Fatica [lessthan]vefatica@foo.bar[greaterthan]"
</vefatica@foo.bar>
 
May 20, 2008
11,400
99
Syracuse, NY, USA
But the forum screwed it up by removine some text. Inside SENDMAIL's address was

"Vincent E. Fatica [lessthan]vefatica@foo.bar[greaterthan]"

I think there are some other combinations of name and address that SMTP servers recognize. TCC just needs the whole thing quoted (as one argument). When I received the message mentioned above, its "To:" header was:

Code:
To: "Vincent E. Fatica" [LT]vefatica@foo.bar[GT]
That's typical. And the SMTP conversation included simply

Code:
RCPT TO:[LT]vefatica@foo.bar[GT]
all as it should be AFAIK.
 
Apr 2, 2011
1,441
10
54
North Carolina, USA
Rex,

I looked at the CHM for v8 and v13, under sendmail. The passing of the recpient isn't documented and in the v13 the /X param is listed under Options but not in the Format area.
----- Original Message -----
From: rconn
To: CSGalloway@nc.rr.com
Sent: Saturday, August 20, 2011 03:06 PM
Subject: RE: [Support-t-3089] sendmail TO name?


Quote:
> I know about the TO's address but I was asking about the TO's name......

Include it in the address.

Rex Conn
JP Software
 
Similar threads
Thread starter Title Forum Replies Date
Jay Sage How to? SENDMAIL with G-Suite Mail Account Support 6
vefatica SENDMAIL via smtp.gmail.com? Support 3
C How to? inline IMG with sendmail? Support 7
R TCC-RT sendmail Support 8
R Fixed Sendmail parameter /USER= does not work Support 4
C sendmail in v20.00.25 x64 Support 7
Mordachai How to pass URL to sendmail? Support 10
J Sendmail, SSL and MS Servers Support 11
C SendMail and yahoo.com Support 1
C Sendmail w/GMail - problem Support 6
C Google Sendmail ? Support 15
Joe Caverly How to? SendMail and SSL Support 2
Dan Glynhampton Fixed v15 sendmail : password encryption problem Support 18
Jay Sage SENDMAIL Apparently Not Setting Priority Support 2
S @CON: does not work with sendmail for pipe Support 2
vefatica SENDMAIL, command line override SMTP server? Support 2
Joe Caverly SENDMAIL under v14 Support 3
dcantor SENDMAIL /= missing field Support 4
C Using dif. sending addresses with sendmail Support 11
A Using SENDMAIL with Exchange Server Support 1
H Minor bug in v12 SENDMAIL Support 0
Jay Sage SENDMAIL Problem in TCC12 Support 10
dcantor Problem with SENDMAIL /H Support 4
Jay Sage How Can SENDMAIL Create Messages with Plain Text and HTML Support 2
C sendmail question Support 1
dcantor Feature request for SENDMAIL Support 0
S SENDMAIL attachment size limit Support 1
S SENDMAIL vs. RFC 2822 Support 0
S SENDMAIL vs. RFC 2822 Support 0
J Configure SendMail to go through GMAIL as SMTP server Support 10
Joe Caverly How to? Get name of current LIBRARY function? Support 4
vefatica Command name mix-up Support 3
Jay Sage Command Will Not Run Using Short Name of Path Support 5
Chen Touboul When i try to delete an empty folder i got "the dirctoy name is invalid" Support 3
vefatica LIBRARY and file name completion? Support 4
vefatica PLAYSOUND requires 8-dot-3 name? Support 8
R Tree on FAT32 does not sort by name by default. Support 6
vefatica START /PGM "name with spaces.URL" fails Support 2
vefatica Can TCC complete this file name? Support 5
thorntonpg option /u not working The directory name is invalid Support 5
Dmitry L. Kobyakov WAD Start /pgm "name.htm" works improperly Support 4
vefatica Array name in a variable? Support 3
E My echo full file name to the clipboard fails now. Support 2
Joe Caverly @NAME supports library functions Support 2
H file name completion on tcc21.01.61 Support 4
C See if a file name matches extended range. Support 15
vefatica Two @FUNCTIONs/aliases with the same name Support 4
x13 Function to get interface user-defined name? Support 10
nickles Command name parsing of GNU compilers Support 13
M Registered to machine-name? Support 7

Similar threads