Debian Codegraph @

test/html/mailformto.htm

raw
1 <html>
2
3 <head>
4 <title>Embperl Tests - use MailFormTo</title>
5 </head>
6
7 <body>
8
9 [-
10
11 $MailTo = '[email protected]' ;
12
13 $fdat{email} = 'test_mailformto' ;
14 $fdat{msg} = 'Embperl tests' ;
15
16 @ffld = keys %fdat ;
17
18 -]
19
20
21 [- MailFormTo ($MailTo,'Embperl TEST Formdata','email') -]
22
23 $? = [+ $? +]<br>
24
25 [$ if $? $]
26 <h2>Sorry, there was an error, your mail couldn't be send</h2>
27 [$else$]
28 <h2>Your mail was successfully delivered</h2>
29 [$endif$]
30
31
32
33 </body>
34 </html>
35