Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

PHPMailer with Gmail Guide?

  • egragan
  • egragan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #203510 by egragan
PHPMailer with Gmail Guide? was created by egragan
I have been banging my head against this for a few weeks. I am not able to get LimeSurvey to send emails using PHPMailer. I have looked through the PHPMailer documentation to no avail.

Is there a guide somewhere that is dedicated to configuring LimeSurvey using the PHP mail option and connection to Gmail?

Thanks!
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203577 by holch
Replied by holch on topic PHPMailer with Gmail Guide?
I am not an expert on this, but as far as I know, the 'PHP mail' option is using the proper PHP installation to send emails, no external SMTP server or Service. At least that is how I know it.

If you want to use Gmail to send your emails, you need to go with the SMTP option. But be aware that Gmail is not a good option for sending mass emails. They have strict rules, both for sending and for receiving mass emails.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • egragan
  • egragan's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #203580 by egragan
Replied by egragan on topic PHPMailer with Gmail Guide?
The PHPMailer package distributed with LimeSurvey has the OAuth.php file included in the .../src/ directory. PHPMailer has the capability to connect to Google via a token and send emails. I just can't seem to get it working.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203581 by holch
Replied by holch on topic PHPMailer with Gmail Guide?
LS might not make use of this feature of PHPMailer, I don't know. You probably can only use the features provided by the LS-GUI. Let's see what others more knowledgeable than me have to say on the topic.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
More
3 years 8 months ago #203588 by jelo
Replied by jelo on topic PHPMailer with Gmail Guide?

holch wrote: LS might not make use of this feature of PHPMailer.

That is the case with OAuth. The big SaaS provider like Google and Microsoft are switching access to mailserver to OAuth.

OAuth and Google: developers.google.com/identity/protocols/oauth2

I recommend to open a feature request for OAuth support. For SMTP OAuth is not needed for a long time.
So you won't see many posts about that topic here.

Some settings of the phpmailer can be set via the config file of LimeSurvey.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose