Link to home
Start Free TrialLog in
Avatar of chonsp
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?
Avatar of yoren
yoren

Have the CGI program mail the form if it's accurate. What platform/language are you using for your CGI?
Avatar of chonsp

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.
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.
Avatar of chonsp

ASKER

So you're saying do not use mailto but an underlying mail command available on my webserver?
ASKER CERTIFIED SOLUTION
Avatar of sdjjm
sdjjm

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chonsp

ASKER

Looks good.  I have'nt implemented yet but I think that will do the trick.  Thanks.