- Jun
- 570
- 4
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 ^<[email protected]^> & option MailAddress & *sendmail [email protected] "Test Msg" test
MailAddress=Jay Sage, TCMD <[email protected]>
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: "[email protected], [email protected], TCMD <[email protected]>"
Any ideas?
Here is a sample command (with domain names altered):
TCC(27.01.24): C:\>option //MailAddress=Jay Sage, TCMD ^<[email protected]^> & option MailAddress & *sendmail [email protected] "Test Msg" test
MailAddress=Jay Sage, TCMD <[email protected]>
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: "[email protected], [email protected], TCMD <[email protected]>"
Any ideas?