Skip to content

Commit 1e94532

Browse files
committed
Merge pull request #16 from chadfawcett/script-rename
Script renamed to mailhound
2 parents ddcccf4 + 2d1490f commit 1e94532

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# NodeMailForm
1+
# mailhound
22

3-
NodeMailForm is a simple server side script for receiving form posts and emailing the form values to an email address linked to a secret key.
3+
Mailhound is a simple server side script for receiving form posts and emailing the form values to an email address linked to a secret key.
44

55
## Installation
66

@@ -44,4 +44,4 @@ Please feel free to create an issue with any bugs you find or any improvements y
4444

4545
This software is free to use under the MIT license. See the [LICENSE][] file fore more details.
4646

47-
[License]: https://github.com/chadfawcett/NodeMailForm/blob/master/LICENSE.md
47+
[License]: https://github.com/chadfawcett/mailhound/blob/master/LICENSE.md

app.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "NodeMailForm",
3-
"description": "NodeMailForm is a simple server side script for receiving form posts and emailing the form values linked to a secret key.",
4-
"repository": "https://github.com/chadfawcett/NodeMailForm",
2+
"name": "mailhound",
3+
"description": "Mailhound is a simple server side script for receiving form posts and emailing the form values linked to a secret key.",
4+
"repository": "https://github.com/chadfawcett/mailhound",
55
"keywords": [
66
"post",
77
"form",

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<h1>NodeMailForm</h1>
1+
<h1>mailhound</h1>
22

33
<p>Readme coming soon!<p>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "NodeMailForm",
2+
"name": "mailhound",
33
"version": "1.0.0",
44
"description": "A simple mailing script that accepts form posts",
55
"scripts": {

server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ app.post('/', function(req, res) {
6262
// Create an email message based on post values
6363
var message = {
6464
'text': emailMessage || 'No message was provided',
65-
'subject': req.body._subject || 'Email from NodeMailForm',
65+
'subject': req.body._subject || 'Email from mailhound',
6666
'from_email': req.body._replyto,
6767
'from_name': req.body.name,
6868
'to': [
@@ -97,5 +97,5 @@ var server = app.listen(config.get('PORT') || 8000, function () {
9797
var host = server.address().address;
9898
var port = server.address().port;
9999

100-
console.log('NodeMailForm listening at http://%s:%s', host, port);
100+
console.log('mailhound listening at http://%s:%s', host, port);
101101
});

0 commit comments

Comments
 (0)