Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

[Solved] Email and list data not working
  • raygun267 July 2011

    I know this topic is closed but there wasn't a solutions and I'm having the same problem and was hoping someone can help me out - I followed the instructions to the
    letter, installed everything and pulled in the form through an iFrame,
    and the e-mail and list_data file aren't working. I've tested with multiple email addresses.

    http://www.aptelis.com/APTELIS/contactform.html is the current location.

    Also on the form itself, what line of code would I find the color of the green that highlights the entry field that is active. I'd like to change that color.

    Thanks! I hope to get this working properly soon.

  • Support July 2011

    Hi. We're sorry! our system automatically pushes closed discussions to the bottom of our view. Sorry again!

    To change the green color find these lines in validform.custom.css file:

    input:focus,textarea:focus,select:focus{border:2px solid green}

    and replace "green" with the color you want.

    About your problem with sending and storing data, have you edited the form_processor.php file?

    Please send us to support (at) htmlform.com your form_config.ini and form_processor.php file.

  • raygun267 July 2011

    Emailed the requested information yesterday.

    Regan

  • Support July 2011

    Thanks. We are studying your code.

  • Support July 2011

    We have not found anything strange in your code. All seems to be OK. We think the problem may be sending the notification email (the mail() PHP function in form_processor.php)

    Please, could you check your PHP log file?. This log probably tell us when and why the error occurs.

    To find the location of file open /etc/php.ini file and find out line that read as follows error_log

  • raygun267 July 2011

    I will try and find that information, in the meantime not sure if this makes a difference but the server is running PHP version 4.4.9

  • Support July 2011

    PHP 4 supports the mail() function. The log information will help :)

  • raygun267 August 2011

    Okay turns out the client never went into the service providers
    interface and turned on the database feature, working on that with them.


    While I was on the phone with their customer service rep, he mentioned
    that they can only send out form a SMTP type account does that affect
    "from_account = "name@URL.com" piece of the code, should the code read
    differently sending from that type of account? They generally require a
    password to send email.

  • Support August 2011

    You can specify the account you want as "from_account". For that you can edit the file form_config.ini

    Htmlform.com now uses the function mail() PHP function for sending mail because is the most extended method. Please, if you have the possibility to edit the file php.ini, locate this file and check that the SMTP server is configured correctly:
    [mail function]
    SMTP = YOUR_SMTP_SERVER (example smtp.isp.net)


    Maybe the mail server of your provider required some extra authentication to send emails. There are several possibilities to solve this issue. For example using PEAR package, probably installed in your server, instead of mail(). You need to edit the form_processor.php file and replace mail() function usage with PEAR "send" method. There are an excellent article here about how to do that:
    http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm 

    In a next version of HTMLform.com we will include this possibility