chonsp
asked on
Mailto on FORM
I have a form that sends the result to a CGI program to verify the accuracy of the results. I'd also like to mail that form that the cgi program gets.
How do I get the submitted from to go two places, the cgi program and to a mail recipient?
How do I get the submitted from to go two places, the cgi program and to a mail recipient?
Have the CGI program mail the form if it's accurate. What platform/language are you using for your CGI?
ASKER
Perl 5 script under Solaris.
Since I am using POST, the CGI scitp gets all its values as PARM1="LAST NAME"&PARM2="FIRST NAME". How do I automatically thread all this into the body of a mail and send it off. Normally mailto just pulls up a mail window witht he recipient filled in.
Since I am using POST, the CGI scitp gets all its values as PARM1="LAST NAME"&PARM2="FIRST NAME". How do I automatically thread all this into the body of a mail and send it off. Normally mailto just pulls up a mail window witht he recipient filled in.
By much better for the cgi to do the eMail, then you know that it really got there. It also solves the problem of multiple submission requests from one submit button.
ASKER
So you're saying do not use mailto but an underlying mail command available on my webserver?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Looks good. I have'nt implemented yet but I think that will do the trick. Thanks.