The Email Form via Server option does not work on my hostserver. My host uses the ‘mail-a-form’ option, where the page starts with <FORM METHOD=“post ACTION=”/cgi-bin/mail-a-form". This option worked on my old website, but leaves no room for the beautiful layout options of Sparkle.
How can I receive mail input from a visitor, with the input options she/he has used on my page?
I just did something similar. I made it work by modifying the perl script.
The limitation is that pre-filled values from sparkle cannot contain an @ symbol. The solution is to use a different key, then look for that key in the script, and if found, insert your valid values, ie:
take line:
%Config = (‘recipient’,’’, ‘subject’,’’,
replace it with:
%Config = (‘mysite’,’’, # due to sparkleapp bug
‘recipient’,’’, ‘subject’,’’,
and
# The next six lines remove any extra spaces or new lines from the #
to:
if ($Config{'mysite'} eq 'mysite'){
$Config{'email'} = 'application@mysite.com';
$Config{'recipient'} = 'application@mysite.com';
}
# The next six lines remove any extra spaces or new lines from the #
then make a text field, and change it from text to mysite, value, mysite.