Web Form Builder Email with GoDaddy -...

User 2839152 Photo


Registered User
16 posts

I have spent hours trying to get either a confirmation email or notification email to work. I have some more complex forms I have built, but have been unsuccessful in getting a simple form to send notification or confirmation.
This is my test form.
http://www.cregeens.com/temp/gotest/gotest.html
It uploads data to mysql but does not send email.
Oddly enough, my coffeecup form I built 10 years ago still works and sends emails, I only had to change the mysql IP address every couple of years when godaddy changed it on me.
This works and sends confirmation email
http://www.cregeens.com/Argenta/applica … tions.html
My domain uses Linux with the old hosting (not cpanel), I am using a registered version 2.9 Build 5509 of Web Form Builder
This is a cleaned up version of my user.cfg.php file
<?php
$user_config['mailer']['service'] = 'smtp';
$user_config['mailer']['smtp']['auth'] = false;
$user_config['mailer']['smtp']['user'] = 'management@cregeens.com';
$user_config['mailer']['smtp']['password'] = 'mypassword';
$user_config['mailer']['smtp']['host'] = 'relay-hosting.secureserver.net';
$user_config['mailer']['smtp']['port'] = '25';
$user_config['mailer']['smtp']['secure'] = '';
?>
These are the settings I found on one of your threads.
I have tried every combination I can think of to get it to work such as no user or password ('') as one go-daddy article stated username and password not required.
Any help would be appreciated.
thanks
User 187934 Photo


Senior Advisor
20,181 posts

Hi JB,
You need to upgrade your version of php on your server.
http://www.cregeens.com/temp/gotest/fba … ertest.php
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2839152 Photo


Registered User
16 posts

Worked like a champ. So far so good. Thanks much.
User 2839152 Photo


Registered User
16 posts

Well, it's not working again...3 years later. GoDaddy migrated me from my old Web/Classic (Hosting Control Panel) to Linux (cPanel).
Now when a form is submitted I get "SMTP connect() failed".
Data is still being uploaded to mySql but there is an error and neither the form email nor confirmation email is being sent.
This is my test form.
http://www.cregeens.com/temp/gotest/gotest.html
I updated my user.cfg.php file from
<?php
$user_config['mailer']['service'] = 'smtp';
$user_config['mailer']['smtp']['auth'] = false;
$user_config['mailer']['smtp']['user'] = 'management@cregeens.com';
$user_config['mailer']['smtp']['password'] = 'mypassword';
$user_config['mailer']['smtp']['host'] = 'relay-hosting.secureserver.net';
$user_config['mailer']['smtp']['port'] = '25';
$user_config['mailer']['smtp']['secure'] = '';
?>
which worked before migration, but no longer works to this
<?php
$user_config['mailer']['service'] = 'smtp';
$user_config['mailer']['smtp']['auth'] = false;
$user_config['mailer']['smtp']['host'] = 'localhost';
$user_config['mailer']['smtp']['port'] = '25';
$user_config['mailer']['smtp']['secure'] = '';
?>
per GoDaddy instructions
https://ph.godaddy.com/help/send-form-m … server-953
GoDaddy is of no help. My files didn't change.
User 187934 Photo


Senior Advisor
20,181 posts

Hi JB,
Did you try using the default cfg file?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2839152 Photo


Registered User
16 posts

Well, I know I tried this combo, but I did as you said and used the original cfg
<?php
$user_config['mailer']['service'] = 'localhost';
$user_config['mailer']['smtp']['auth'] = true;
$user_config['mailer']['smtp']['user'] = 'email@cregeens.com';
$user_config['mailer']['smtp']['password'] = 'mypassword';
$user_config['mailer']['smtp']['host'] = 'mail.cregeens.com';
$user_config['mailer']['smtp']['port'] = '25';
$user_config['mailer']['smtp']['secure'] = '';
?>
And it worked!! Kinda. My gotest simple form works now, but all of my other forms go to a variable email, where php combines selection of location (Argenta or Jonesboro) with that email (eg Jonesboro@cregeens.com). I have some other things not working which all comes down to variables not passing between php and I think it has something to do with .htaccess file
thanks
JB
User 187934 Photo


Senior Advisor
20,181 posts

I've had issues off and on with my host. They will make changes that affect some of my hand written scripts so I need to go back and figure it out from time to time.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.