user.cfg.php Gmail configuration -...

User 2726466 Photo


Registered User
26 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
User 187934 Photo


Senior Advisor
20,181 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.

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 2726466 Photo


Registered User
26 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
User 187934 Photo


Senior Advisor
20,181 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.

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 2726466 Photo


Registered User
26 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';
User 2726466 Photo


Registered User
26 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.