I have been trying to use the command "option //MailAddress=..." to enter an address such a "Jay Sage, TCMD User <jay@domain>" and then use the "sendmail" command to send a message using that address. If I enter such an address into the option dialog, it works, but it doesn't work using the command line version. The comma gets interpreted as a separator between addresses. I tried using escape characters, such as ^c for comma, ^< and ^> for the characters around the address. I tried putting double quotes around the strings. So far I have not succeeded.
Here is a sample command (with domain names altered):
TCC(27.01.24): C:\>option //MailAddress=Jay Sage, TCMD ^<Jay@domain.org^> & option MailAddress & *sendmail jay@domain2.org "Test Msg" test
MailAddress=Jay Sage, TCMD <Jay@domain.org>
The MailAddress seems to be getting set as desired. However, when the message arrives in my mailbox, the FROM field contains three (!!) addresses separated by commas: "jay@tigertech.net, sage@tigertech.net, TCMD <jay@domain.org>"
Any ideas?
Here is a sample command (with domain names altered):
TCC(27.01.24): C:\>option //MailAddress=Jay Sage, TCMD ^<Jay@domain.org^> & option MailAddress & *sendmail jay@domain2.org "Test Msg" test
MailAddress=Jay Sage, TCMD <Jay@domain.org>
The MailAddress seems to be getting set as desired. However, when the message arrives in my mailbox, the FROM field contains three (!!) addresses separated by commas: "jay@tigertech.net, sage@tigertech.net, TCMD <jay@domain.org>"
Any ideas?