Welcome to the LimeSurvey Community Forum

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

PHPMailer settings for LimeSurvey version 3 vs. 5

  • maestro1315
  • maestro1315's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #241656 by maestro1315
Please help us help you and fill where relevant:
Your LimeSurvey version:Version 5.6.11+230320
Own server or LimeSurvey hosting: Own Server
Survey theme/template:
==================
Previously in Limesurvey version 3 I would edit the PHPMailer.php file to add in the below lines. This would allow us to send email using our SMTP server, while not ideal this is what is required. How do I do the same thing in LimeSurvey version 5 ? 
verify_peer' => false
verify_peer_name' => false
allow_self_signed' => true

Thanks

Please Log in to join the conversation.

  • maestro1315
  • maestro1315's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #241658 by maestro1315
Replied by maestro1315 on topic PHPMailer settings for LimeSurvey version 3 vs. 5
This was it -
limesurvey/vendor/phpmailer/phpmailer/src/PHPMailer.php

public $SMTPOptions =
array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago #241664 by DenisChenu
Replied by DenisChenu on topic PHPMailer settings for LimeSurvey version 3 vs. 5
Don't update core if you can do (or use) plugin
gitlab.com/SondagesPro/coreAndTools/AllowSelfSignedSSLSmtp
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • maestro1315
  • maestro1315's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #241681 by maestro1315
Replied by maestro1315 on topic PHPMailer settings for LimeSurvey version 3 vs. 5
Thanks. I attempted the plugin. I received the below.


×The plugin could not be installed or updated: Could not parse config.xml file.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago #241682 by DenisChenu
Replied by DenisChenu on topic PHPMailer settings for LimeSurvey version 3 vs. 5
Same directory + same file name

Explain what you do exactly …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • maestro1315
  • maestro1315's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #241686 by maestro1315
Replied by maestro1315 on topic PHPMailer settings for LimeSurvey version 3 vs. 5
Using version 5.x I'm uploading it as a zip file to the site and recieve that message. Thanks.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 1 month ago #241694 by DenisChenu
Replied by DenisChenu on topic PHPMailer settings for LimeSurvey version 3 vs. 5
What namle is the zip file ?

You must rezip without -master

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • maestro1315
  • maestro1315's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 1 month ago #241707 by maestro1315
Replied by maestro1315 on topic PHPMailer settings for LimeSurvey version 3 vs. 5
Got it. Working now. Thanks!

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose