Skip to content

Commit

Permalink
updated mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
lim-james committed Feb 7, 2020
1 parent 90ed441 commit d51607c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ $(function() {
// Submit the form using AJAX.
$.ajax({
type: 'POST',
headers: {"Access-Control-Allow-Origin": "*"},
url: $(form).attr('action'),
data: formData
data: formData,
})
.done(function(response) {
// Make sure that the formMessages div has the 'success' class.
Expand Down
2 changes: 1 addition & 1 deletion mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

// Set the recipient email address.
// FIXME: Update this to your desired email address.
$recipient = "csealtaf@gmail.com";
$recipient = "contact@geekshacking.com";

// Set the email subject.
$subject = "New contact from $name";
Expand Down

0 comments on commit d51607c

Please sign in to comment.