Page 9 of 9 FirstFirst ... 789
Results 81 to 89 of 89

Thread: php to self populate existing form

  1. #81
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Coothead.

    I have just sent a form and have received it no problem.

  2. #82
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there theremotedr,

    what time did you send them?

    I swapped the email address to the "theremotedr@gmail.com" at 1:06am.

    coothead
    ~ the original bald headed old fart ~

  3. #83
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Hi,
    I sent 2 just before 1am did you receive them ?

    I then sent one at 1.30 and received it straight away.

    I then sent one at 01.45 but time now is 01.53 but as of yet nothing received.

  4. #84
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Hi,
    On this page http://www.html-form-guide.com/email...ing-email.html
    I have installed the test php file below part A simple script to test your PHP –> mail configuration
    I have clicked submit say 8 times and straight away receive the 8 test emails fine.

    How about we try and add a $from_add = "theremotedr@gmail.com"; to the form and just see what happens ?

  5. #85
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there theremotedr,

    I have done a little research and have now managed to resolve the problem.

    It turns out that "Gmail" chokes on "\r" in PHP emails.

    There were four in our form...

    PHP Code:
       $headers 'From: '.$email_from."\r\n".

       
    'Reply-To: '.$email_from."\r\n" .
     
       
    'X-Mailer: PHP/' phpversion();

       
    $headers .= "MIME-Version: 1.0\r\n";

       
    $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";//ISO-8859-1 
    ...and I have now removed them.

    Replace your version with that in the attachment.

    Further reading:-


    I nearly forgot your "paypal email field" problem.

    Replace your "screen.css" file with that in the attachment.


    coothead
    Attached Files Attached Files
    Last edited by coothead; 02-19-2017 at 02:36 AM.
    ~ the original bald headed old fart ~

  6. #86
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Morning.
    I added the files as mentioned above.
    F5 the system and completed the form.
    This was 30 minutes ago.
    As of yet no email.
    I will wait a while just in case and then reply back here.

    Many thanks for sorting the above out.

  7. #87
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there theremotedr,

    the tests to my "Gmail" account at 2:30am were very successful.

    I have, just now, made three submissions to yours - fingers crossed.

    coothead
    ~ the original bald headed old fart ~

  8. #88
    Join Date
    Nov 2014
    Location
    On A Scottish Island
    Posts
    488
    Thanks
    0
    Thanked 62 Times in 58 Posts

    Default

    Message sent at 13:14 UCT.

  9. #89
    Join Date
    Nov 2011
    Location
    Cider Region
    Posts
    1,132
    Thanks
    158
    Thanked 3 Times in 3 Posts

    Default

    Quote Originally Posted by styxlawyer View Post
    Message sent at 13:14 UCT.
    Thanks but nothing received either,now 14:15

Similar Threads

  1. Using Buttons to Populate Form Fields
    By Migey in forum JavaScript
    Replies: 5
    Last Post: 09-20-2012, 03:11 PM
  2. Populate a form using a database.
    By griffinwebnet in forum PHP
    Replies: 2
    Last Post: 07-21-2011, 09:59 PM
  3. having php form data populate SQL database
    By kairick in forum MySQL and other databases
    Replies: 0
    Last Post: 06-29-2010, 11:11 AM
  4. Populate form form MySQL data
    By Rob (SA) in forum MySQL and other databases
    Replies: 13
    Last Post: 04-18-2009, 10:48 AM
  5. Form Lookup with Auto populate
    By chilldude in forum PHP
    Replies: 2
    Last Post: 04-17-2009, 02:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •