ASP4
view release on metacpan or search on metacpan
README.markdown view on Meta::CPAN
$Server->Mail(
from => 'foo@bar.com',
to => 'bar@foo.com',
subject => 'Hello, world!',
'content-type' => 'text/html',
'content-transfer-encoding' => 'base64',
message => encode_base64(<<"HTML")
<html>
<body>
<p>This is an html email.</p>
<p>You can see that <b>this text is bold</b>.</p>
</body>
</html>
HTML
);
Please see [Mail::Sendmail](http://search.cpan.org/perldoc?Mail::Sendmail) for further details and examples.
### $Server->RegisterCleanup( sub { ... }, \@args )
After the final response has been sent to the client, the server will execute
lib/ASP4.pm view on Meta::CPAN
$Server->Mail(
from => 'foo@bar.com',
to => 'bar@foo.com',
subject => 'Hello, world!',
'content-type' => 'text/html',
'content-transfer-encoding' => 'base64',
message => encode_base64(<<"HTML")
<html>
<body>
<p>This is an html email.</p>
<p>You can see that <b>this text is bold</b>.</p>
</body>
</html>
HTML
);
Please see L<Mail::Sendmail> for further details and examples.
=head3 $Server->RegisterCleanup( sub { ... }, \@args )
After the final response has been sent to the client, the server will execute
lib/ASP4/ErrorHandler.pm view on Meta::CPAN
background-color: #FFFFFF;
}
HTML,BODY,P,DIV {
font-family: Arial, Helvetica, Sans-Serif;
}
HTML,BODY,P,PRE,DIV {
font-size: 12px;
}
H1 {
font-size: 50px;
font-weight: bold;
}
PRE {
padding-right: 10px;
line-height: 16px;
}
.code {
margin-top: 20px;
margin-left: 15px;
width: 95%;
padding: 10px;
lib/ASP4/ErrorHandler.pm view on Meta::CPAN
background-color: #FFFFCC;
}
.clear {
clear: both;
}
.label {
text-align: right;
padding-right: 5px;
float: left;
width: 80px;
font-weight: bold;
}
.info {
float: left;
color: #CC0000;
}
</style>
<body>
<h1>500 Server Error</h1>
<h2>@{[ $error->message ]}</h2>
<div><div class="label">URL:</div> <div class="info"><code>@{[ $ENV{HTTP_HOST} ]}@{[ $ENV{REQUEST_URI} ]}</code></div></div>
t/htdocs/index.asp view on Meta::CPAN
height: 35px;
border-bottom: solid 1px #000000;
}
#header-container {
width: 950px;
margin-left: auto;
margin-right: auto;
padding: 5px;
font-size: 20px;
font-weight: bold;
color: #000000;
line-height: 20px;
text-align: center;
}
#container {
width: 950px;
margin-left: auto;
margin-right: auto;
background-color: #FFFFFF;
( run in 1.780 second using v1.01-cache-2.11-cpan-39bf76dae61 )