WEB Form Email question - Post ID 291871

User 2791023 Photo


Registered User
9 posts

I have my own linux servers and Im trying to set up my forms to email using an account on namecheap. I can use a client to send via port 587 and TLS. I can't get it to work with Web Form designer. Any Ideas would be appreciated.

This is my user.cfg.php

<?php
/**
* CoffeeCup Software's Web Form Builder.
*
* This configuration file is intended to change the default behavior of the Web Form Builder scripts to
* accomodate special needs some users may have due to the server setup they have to deal with.
*
* The user is responsible for any changes to this file.
* Remove the '//' in front of the lines that you need add '//' in front of the lines you don't need.
*
*
* @version $Revision: 2244 $
* @author Cees de Gruijter
* @category FB
* @copyright Copyright (c) 2011 CoffeeCup Software, Inc. (http://www.coffeecup.com/)
*/

/*********************** Send Mail Configuration ****************************/

// What service is available for sending mail? Possible values are:
// - localhost [default] Server where the shop is installed, must be a Linux or Unix machine with sendmail
// - smtp A mail server of your choice that supports the standard SMTP protocol
//$user_config['mailer']['service'] = 'localhost';
$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'] = 'mail@domain.us';
$user_config['mailer']['smtp']['password'] = 'password;

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

// Connection parameters for a plain SMTP server
//$user_config['mailer']['smtp']['port'] = '25';
//$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'] = '587';
$user_config['mailer']['smtp']['secure'] = 'tls';

?>
User 187934 Photo


Senior Advisor
20,190 posts

Hi Scott. Can you share a link to your form?
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 2791023 Photo


Registered User
9 posts

User 187934 Photo


Senior Advisor
20,190 posts

Did you manually alter the smtp setting in your form?
https://www.coffeecup.com/help/articles … m-builder/
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.