How to? SendMail and SSL


TCC  15.01.51  Windows Vista [Version 6.0.6002]
TCC Build 51  Windows Vista Build 6002  Service Pack 2
Registered to Joe Caverly - 1 System License

I am having a problem with SendMail. I have renamed my email name and password in this message.

which sendmail
sendmail is an internal command

I tried this;

sendmail /v Test1 Test2
Connecting to mail server.
error during handshake[2]: 0x80090308
Failed to connect: error during handshake[2]: 0x80090308
TCC: error during handshake[2]: 0x80090308

then this;

sendmail /v /SSL=2 Test1 Test2
TCC: (Sys) The requested name is valid, but no data of the requested type was found.

Is it just me, or does sendmail not like the /SSL=2 argument? Not sure I really need it, though, since that option is already set in my TCMD.INI file.

Here's the email section of my TCMD.INI file;


I have no problem sending email using PowerShell;

$EmailFrom = ""                                                                 
$EmailTo = ""                                                              
$Subject = "Hello."                                                                            
$Body = "Test Message."                                                                           
$SMTPServer = ""                                                                     
$SMTPClient = New-Object Net.Mail.SmtpClient($SmtpServer, 587)                                     
$SMTPClient.EnableSsl = $true                                                                      
$SMTPClient.Credentials = New-Object System.Net.NetworkCredential("me", "mypassword")    
$SMTPClient.Send($EmailFrom, $EmailTo, $Subject, $Body)

Must be something simple that I am not doing correctly with SendMail, so please feel free to point it out to me.

Thanks from Joe

TCC  15.01.51   Windows Vista [Version 6.0.6002]
TCC Build 51   Windows Vista Build 6002  Service Pack 2
Registered to Joe Caverly - 1 System License
Similar threads
Thread starter Title Forum Replies Date
J Sendmail, SSL and MS Servers Support 11
Jay Sage How to? SENDMAIL with G-Suite Mail Account Support 6
vefatica SENDMAIL via 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
C SendMail and Support 1
C Sendmail w/GMail - problem Support 6
C Google Sendmail ? Support 15
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
C sendmail TO name? Support 9
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
vefatica FTP SSL, how do I see it work? Support 3
Brian Woodward How to? Does FTP.CFG only support SSL over port 21? (Newbie) Support 6

Similar threads