This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Tue Nov 16, 2004 1:56 pm
Is it possible to send an email with tcl? If so how.
I know about something called sendmail but my shell doesn't seem to have it
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Tue Nov 16, 2004 2:11 pm
Code: Select all
exec echo "hi goober" | mail -s hello goober@mail.com
(this won't work on windrop of course)
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Wed Nov 17, 2004 2:37 am
well, it seems my bot is succesfully executing the command, but it doesn't seem to actually send an email as i tried sending one but it never got to my inbox
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Wed Nov 17, 2004 2:59 am
the standart UNIX utility mail(1) depends on sendmail to do its job; so if you don't have sendmail up & running, mail will not function
however, you can always code sending email in raw SMTP
metroid
Owner
Posts: 771 Joined: Wed Jun 16, 2004 2:46 am
Post
by metroid » Wed Nov 17, 2004 5:20 am
I'm sure i could if i knew how :p