kf4zmt Posted June 19, 2004 Posted June 19, 2004 I'm new to TCH and need a little help. I need to send automated e-mails from within a perl & php script that runs on a TCH server and need an example of how this is done. The help desk says they don't answer developer questions and suggested that I post my question here. Any help will be much appreciated. Thanks Quote
TCH-Bruce Posted June 19, 2004 Posted June 19, 2004 (edited) Here is how I do it in Perl. $mailprog = '/usr/sbin/sendmail -t' ; $recip = $E_mail ; open (MAIL, "|$mailprog"); print MAIL "Reply-to: support\@****\n"; print MAIL "From: support\@****\n"; print MAIL "To: $recip\n"; print MAIL "Subject: Your request has been received\n"; print MAIL "\n\n"; ... ... ... close (MAIL); You could also use the Ultimate Form Mailer Edited June 19, 2004 by TCH-Bruce Quote
kf4zmt Posted June 19, 2004 Author Posted June 19, 2004 Outstanding! Thank you Bruce. Can anyone help me out with PHP? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.