Onder mijn verzend buttom (flash form) zit de volgende code:
In mijn Actions for Frame 5 of Layer Name form data staat de volgende:
MAAR wanneer ik op verzend druk krijg ik deze melding:
Fout tijdens mail versturen
Het versturen van mail is mislukt. Waarde van hidden subject veld niet correct
Wanneer ik de subject regel weg haal krijg ik deze ook?
Het script staat hier http://www.xs4all.nl/cgi-bin/mail-a-form en de bijbehorende docu is:
# Special variables -
# to - (required) sets the "To:" address. Multiple To: addresses allowed. # nextpage - URL what should be displayed after the mail has been sent
# (can be relative to current page). Only one nextpage
# allowed (others are ignored). If not present, a standard
# message is given.
# from - specifies the "From:" address. Only one address allowed. # subject - sets the "Subject:". Only one subject allowed. # body - Specify the body of the mail, perl-like backslash\ escapes work fine.
# You can use ${var} to interpolate the contents of var. If there
# are multiple instances of var, you can use ${var,"sep"} to insert
# all instances of var, separated by "sep" (without quotes).
# The default is to use comma-separation, so ${var} equals to
# ${var, ","}
# multiple "body" tags will appear separated by a newline.
# the special var ${query_string} equals the query string as
# passed to the script
# required - variables that should be non-zero, otherwise ${missing} is
# displayed. You can either add multiple "required" tags, or
# put the required fields comma-separated in one or more
# "required" tags.
# missing - URL that is displayed when some variable in ${required} isn't
# filled in. A % in this name is replaced with the name of the
# missing key (if missing is set, and there is no "to" field, then
# missing is used as well, and any "%" is replaced by "to");
# you can have only one missing tag.
# referer - "current" URL. The URL in which you call mail-a-form. Not all
# browsers send a referer, and the script definately needs one.
#
# any other variables are simply printed in the script, as "key = value" pairs. # html-isms like %HEX and + for space are removed.
Iemand een ideetje wat ik verkeerd doe?
code:
1
2
3
| on (release) {
getURL("http://www.xs4all.nl/cgi-bin/mail-a-form", "_blank", "POST");
} |
In mijn Actions for Frame 5 of Layer Name form data staat de volgende:
code:
1
2
3
| to = "paperfac@xs4all.nl"; subject = "contact"; referer = "http://www.thepaperfactory.nl/contact.htm"; |
MAAR wanneer ik op verzend druk krijg ik deze melding:
Fout tijdens mail versturen
Het versturen van mail is mislukt. Waarde van hidden subject veld niet correct
Wanneer ik de subject regel weg haal krijg ik deze ook?
Het script staat hier http://www.xs4all.nl/cgi-bin/mail-a-form en de bijbehorende docu is:
# Special variables -
# to - (required) sets the "To:" address. Multiple To: addresses allowed. # nextpage - URL what should be displayed after the mail has been sent
# (can be relative to current page). Only one nextpage
# allowed (others are ignored). If not present, a standard
# message is given.
# from - specifies the "From:" address. Only one address allowed. # subject - sets the "Subject:". Only one subject allowed. # body - Specify the body of the mail, perl-like backslash\ escapes work fine.
# You can use ${var} to interpolate the contents of var. If there
# are multiple instances of var, you can use ${var,"sep"} to insert
# all instances of var, separated by "sep" (without quotes).
# The default is to use comma-separation, so ${var} equals to
# ${var, ","}
# multiple "body" tags will appear separated by a newline.
# the special var ${query_string} equals the query string as
# passed to the script
# required - variables that should be non-zero, otherwise ${missing} is
# displayed. You can either add multiple "required" tags, or
# put the required fields comma-separated in one or more
# "required" tags.
# missing - URL that is displayed when some variable in ${required} isn't
# filled in. A % in this name is replaced with the name of the
# missing key (if missing is set, and there is no "to" field, then
# missing is used as well, and any "%" is replaced by "to");
# you can have only one missing tag.
# referer - "current" URL. The URL in which you call mail-a-form. Not all
# browsers send a referer, and the script definately needs one.
#
# any other variables are simply printed in the script, as "key = value" pairs. # html-isms like %HEX and + for space are removed.
Iemand een ideetje wat ik verkeerd doe?