web form manual setup

User 330396 Photo


Registered User
1 post

To possibly save time, here is the question anyway:
ERROR:
-----
Your form could not be submitted for the following reason(s):

SMTP Error: Could not authenticate.
SMTP Error: Could not authenticate.
--------
user.cfg.php data (minus the specific email and pass):
--
$user_config['mailer']['service'] = 'smtp';
//$user_config['mailer']['service'] = 'smtp';

// Does the remote SMTP server need authentication?
$user_config['mailer']['smtp']['auth'] = true;
//$user_config['mailer']['smtp']['auth'] = false;

// Use this if the server needs authentication:
$user_config['mailer']['smtp']['user'] = 'email@email.com';
$user_config['mailer']['smtp']['password'] = 'pass';

// The address of the server
$user_config['mailer']['smtp']['host'] = 'smtp.gmail.com';
//$user_config['mailer']['smtp']['host'] = 'smtp.gmail.com';

// Connection parameters for a plain SMTP server
$user_config['mailer']['smtp']['port'] = '465';
$user_config['mailer']['smtp']['secure'] = '';

// Connection parameters for a SMTP server that supports secure connections, such as smtp.gmail.com
$user_config['mailer']['smtp']['port'] = '465';
$user_config['mailer']['smtp']['secure'] = 'ssl';
------------
I hope I have simply overlooked a config detail, perhaps someone can assist in spotting it.
The site is hosted off Google, but we are using Google email. The host company has been involved already and claims they have no "blocks", and system appears ok to work. Web form builder ver: 2.5 5437 / PHP Version: 5.3.29.
Thanks in advance / Tom
-----
server test info:
Server configuration

FormBuilder version: Web Form Builder (Windows), build 2.5.5437

PHP Version: 5.3.29 (should be 5.3 or newer)

Curl extensions: OK

Mail configuration in php.ini file:

Sendmail Path:/usr/sbin/sendmail -t -i
Sendmail From:
SMTP:localhost
SMTP Port:25

Data base access:

MySQL: Installed
SQLite: Installed
PDO - MySQL driver: Installed
PDO - SQLite driver: Installed

File upload configuration:

File Uploads: On
File Uploads Max Size: 2M
Post Max Size: 8M

PHP Sessions:

Cool, sessions are usable!
User 473299 Photo


Registered User
144 posts

Did you solve this?
User 1993622 Photo


Registered User
10 posts

I am curious about this also. I have the same issue ... no email revceived. If you solved this, can you let us know?
User 473299 Photo


Registered User
144 posts

Yes, I've found it, it works! I hope it works for all providers. These are the changes in user.cfg.php
which I have to copy over each team after export. For me it works now all the time.

// Linda: I changed 'localhost' to 'smtp'
$user_config['mailer']['service'] = 'smtp';

// Does the remote SMTP server need authentication?
// Linda: no changes
$user_config['mailer']['smtp']['auth'] = true;

// Use this if the server needs authentication:
// Linda: I entered my own email
$user_config['mailer']['smtp']['user'] = 'mail@server.com';
// Linda: I entered my own password
$user_config['mailer']['smtp']['password'] = 'password';

// The address of the server
// Linda: I entered my own domain
$user_config['mailer']['smtp']['host'] = 'mail.server.com';

// Connection parameters for a plain SMTP server
$user_config['mailer']['smtp']['port'] = '25';
// LINDA: I changed this from '' to 'true'
$user_config['mailer']['smtp']['secure'] = 'true';
User 1993622 Photo


Registered User
10 posts

I am struggling with user.cfg.php and have read every post available. I cannot get a workable combination. Has anyone had experience with Bluehost and manual setup for WFB?
User 473299 Photo


Registered User
144 posts

Authentication should mean that your username password is not correct.
User 1993622 Photo


Registered User
10 posts

Linda

Thanks for showing us what works. I still cannot get my settings correct.

I use bluehost.com. What service do you use and does anyone know what settings bluehost requires? I have spent hours and hours on this. Any help would be greatly appreciated.

John
User 103173 Photo


VP of Software Development
0 posts

John Herschelman wrote:
Linda

Thanks for showing us what works. I still cannot get my settings correct.

I use bluehost.com. What service do you use and does anyone know what settings bluehost requires? I have spent hours and hours on this. Any help would be greatly appreciated.

John

Found this with a Google search John. It seems to outline what you need.

http://www.bluehostforum.com/showthread … -phpmailer

Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 1993622 Photo


Registered User
10 posts

Scott

Thank you. I do think that gives me the parameters.

There seems to be one additional hurdle (hopefully only one): Blue has this:
CGI Email
CGI Email lets visitors email you by filling out a form on your website. Be sure to include the following in your form or your email may not send:

<input type='hidden' name='cgiemail-mailopt' value='sync'>

Is this related to the issue and if so, where would I place this? In the html script, a php file, or a javascript file? I have no idea.
User 1993622 Photo


Registered User
10 posts

After researching this (a lot), it looks like bluehost is the problem. I am not sure there is a fix. I am not only having difficulty with web forms but with filemaker email also. The solution may be to change to some other hosting service or to get an email hosting account. I don't guess s-drive will work with filemaker email, will it.

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.