Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8946565
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:33:12+00:00 2026-06-15T12:33:12+00:00

I have a simple php mailer script I often use on sites and I

  • 0

I have a simple php mailer script I often use on sites and I am trying to integrate it into a facebook app. The app is running through Heroku as usual and is set up correctly.

The Form however is not working, it goes through all the motions but doesn’t actually send the email.

I wonder if anyone can shed any light on this? Essentially its a competition answer form for a facebook page tab app. Should I be using a fb:form or something?

Thanks in advance

Kev

HTML FOR FORM

<form action="mailer.php" id="form" method="post" name="form">
<div class="field form-inline">
<label class="contact-info" for="txtName">Name*</label> <input class=
"txt" id="name" name="name" type="text" value="">
</div>

<div class="field form-inline">
<label class="contact-info" for="txtEmail">Email*</label> <input class=
"txt" id="email" name="email" type="text" value="">
</div><br>
<br>
<br>
<br>

<div class="submit">
<input class="submit" name="submit" type="submit" value="Submit Form">
</div>
</form>

PHP FOR FORM

<?php
$name    = $_POST['name'];
$email   = $_POST['email'];

$form_message = "Name: $name \nEmail: $email";

// echo for form completion

$myString = "Thank you for filling out our feedback form.";
echo $myString;

//header( "Location: http://www.google.com");//

mail("kevinhowbrook@me.com", "Email Subject", $form_message, "From: $email" );

?>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T12:33:13+00:00Added an answer on June 15, 2026 at 12:33 pm

    As long as you can debug (and the echoed text shows up), i am guessing it´s a problem with the mail function itself. If you don´t use it with additional info, any spam filter will block it.

    Some pages i found with a quick google search:

    http://www.transio.com/content/how-pass-spam-filters-php-mail

    http://www.velvetblues.com/web-development-blog/avoid-spam-filters-with-php-mail-emails/

    You can also use a PHP mailer class, like this one:

    http://code.google.com/a/apache-extras.org/p/phpmailer/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Simple PHP Mailer Script i run a small website and we have
I have a simple PHP mailer script that takes values from a form submitted
I have a simple php script which I use in form on my website.
I'm using a simple php mailer for my sites contact form. I have a
I have a simple php script on my domain that sends me an email:
I have a simple PHP app that prints 'hello world'. When I run it
I have a simple PHP script that will either serve up a streaming ASF
Here I have a simple php script which displays some values from a database
I have a simple PHP script with a form that has two select fields,
I have a simple PHP upload script I have started. I am not the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.