I am running a calendar script, written in Perl, on an NT server. The script serves as the master calendar for hearing rooms for my employer.
The script is designed to send e-mail to event posters and to the calendar administrator (me) using sendmail, but our server administrator does not run sendmail. They do, however, have an .asp application that will take form input via "post" and e-mail it to any recipient specified in a particular hidden attribute in the form.
The question, then, is this: Is there a way I can write a little Perl subroutine that will automatically submit the contents of scalar variables from the main script to the .asp application as if the data were coming from a form -- thereby causing it shoot an e-mail to me? Basically, I want to be able to call this sub every time someone adds, deletes, or modifies an event. Obviously, I can work out the mechanics of placing the subroutine calls in the main script. But I don't know exactly how to go about writing the subroutine itself. Any ideas?