user.cfg.php Gmail configuration


Registered User
8 posts

Hi,
I can successfully send emails from my form to XXX@internode.on.net provider. But I cannot send to a gmail account.
Appreciate if someone can provide an example how to configure the user.cfg.php file to send to XX@gmail.com

regards
Henry


Senior Advisor
17,824 posts

Hi Henry,
Have you tried more than one gmail account?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com


Registered User
8 posts

Hi,

Yes I have. There is no error displayed..

There must be a standard config for the user.cfg file for a well used email system like gmail

regards
Henry


Senior Advisor
17,824 posts

Did you try this?
http://www.coffeecup.com/forums/web-for … post261265
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
http://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
http://progrower.coffeecup.com/shop/
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 personnel site used for testing and as an easy way to share photos.(RLM imported to RSD)
http://ericrohloff.com


Registered User
8 posts

I have limited knowledge, when reading through the above link... I get lost
Link to the form is http://www.nixsdrivingschool.com.au/contact.htm
Below is a copy of the user.cfg file. Any chance of somebody who has gmail setup working can help confirm the below setup.

$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'] = 'xxxx@gmail.com';
$user_config['mailer']['smtp']['password'] = 'password';

// The address of the server
//$user_config['mailer']['smtp']['host'] = 'mail.your_domain.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'] = '465';
$user_config['mailer']['smtp']['secure'] = 'ssl';


Registered User
8 posts

Any feedback on this config for gmail

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.