Anyone know know how to send emails in TC?
On the x86 platform, I wrote a little console mail utility script ('mx", the "mail experiment") that uses something like the following:
mailx -n -v -r <senderemail@domain.com> -s "<mail subject>" -S smtp-auth-user=<senderemail@domain.com> -S <senderssmtppassword> -S smtp=<smtp.domain.com:587> <recipient@domain.net>
It requires mailx.tcz and, I think, msmtp.tcz
Sending was an afterthought as my script was mainly for reading mail from a pop3 server, so the sending capability isn't all that polished. It takes the message body from stdin, so you'd have to use redirection to use it in a script... or read up on the mailx command line options - I'm sure there's one to take the message body from a file. At some point I'll look into it further as sending mail from a script is on my todo list, but it won't be this week, and probably not any time really soon.