Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Receving PHP forms (Simple)


  • Please log in to reply
6 replies to this topic

#1 JUICYboy

JUICYboy

  • Members
  • 537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Anaheim, Ca
  • Local time:11:40 PM

Posted 05 February 2012 - 10:14 PM

Hello!

How long those it take to receive a simple php form to a email address?
In earlier attempts they take up to 25mins. Why?

I only have 2 text fields inputs: "email" & "message"
The scripts work correctly but I do not see the message in my email, as soon as I send it from the website.

Thank-you

Edited by JUICYboy, 05 February 2012 - 10:15 PM.


BC AdBot (Login to Remove)

 


#2 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:09:40 PM

Posted 05 February 2012 - 11:27 PM

There are about a kazillion factors that could contribute to the amount of time it takes for an email to be delivered. It could be anything from how long it takes your host to upload the email, or how the IP handles mail that may or may not have an MX record, or if your service provider scans the email, etc.

In my implementation, it takes just a couple of minutes.

#3 JUICYboy

JUICYboy
  • Topic Starter

  • Members
  • 537 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Anaheim, Ca
  • Local time:11:40 PM

Posted 06 February 2012 - 09:53 AM

Yes that makes sence

I still have not received the e-mail and it has been over 8 hours.

I must be sending them to a wrong email or something is up...

Thank-you I will check my php scripts for the 8 time

#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:09:40 PM

Posted 06 February 2012 - 11:43 AM

Maybe you should enable some debugging info in your php code to make sure that the email is even being sent, I would say that after 8 hours, the mail is probably not going out.

#5 angelfire4xx

angelfire4xx

  • Members
  • 38 posts
  • OFFLINE
  •  
  • Gender:Not Telling
  • Location:United Kingdom
  • Local time:03:40 AM

Posted 09 February 2012 - 04:21 PM

I'm no expert, but have you checked the time setting in your cron job?

#6 tripflex

tripflex

  • Members
  • 128 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Orlando, FL
  • Local time:11:40 PM

Posted 06 March 2012 - 09:02 PM

Like groovicus said there are a million things that could cause this.

Are you just using mail() to send out an email with PHP?

How are you checking your email?

Who is your current web host?

Do you have SSH access to your server?

Does your host provide you with cPanel?

Can you give me a link to the site?

I will check your MX records to make sure everything is setup correctly and see if i notice any other issues.
There's no place like 0.0.0.0, i'm tired of being at 127.0.0.1

#7 timnoeat

timnoeat

  • Members
  • 14 posts
  • OFFLINE
  •  
  • Local time:10:40 PM

Posted 05 May 2012 - 08:08 PM

You should get your mail immediately if there is nothing wrong with your host. Do you see any error message while executing your script?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users