Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E-Mail communication does not support STARTTLS #490

Open
Schmurki opened this issue Jul 20, 2022 · 1 comment · May be fixed by #658
Open

E-Mail communication does not support STARTTLS #490

Schmurki opened this issue Jul 20, 2022 · 1 comment · May be fixed by #658

Comments

@Schmurki
Copy link

Schmurki commented Jul 20, 2022

Hi! First of all I would like to thank you for the effort everyone put in this project!

Expected Behavior

I have setup the configuration for the mail module in order to be able to send out mails to the participants for example when a user forgot his password (happens very often).

The mail module should be able to send out mails.

Current Behavior

I only receive error messages by the SMTP server (I tried gmail and gmx).

Ran into problems sending Mail. Response: 530 5.7.0 Must issue a STARTTLS command first. r10-20020a5d494a000000b0021e40019ae7sm4247317wrs.48 - gsmtp
Ran into problems sending Mail. Response: 502 5.5.1 Unrecognized command. r10-20020a5d494a000000b0021e40019ae7sm4247317wrs.48 - gsmtp
Ran into problems sending Mail. Response: 502 5.5.1 Unrecognized command. r10-20020a5d494a000000b0021e40019ae7sm4247317wrs.48 - gsmtp
Ran into problems sending Mail. Response: 530 5.7.0 Must issue a STARTTLS command first. r10-20020a5d494a000000b0021e40019ae7sm4247317wrs.48 - gsmtp
Ran into problems sending Mail. Response: 530 5.7.0 Must issue a STARTTLS command first. r10-20020a5d494a000000b0021e40019ae7sm4247317wrs.48 - gsmtp
Ran into problems sending Mail. Response: 530 5.7.0 Must issue a STARTTLS command first. r10-20020a5d494a000000b0021e40019ae7sm4247317wrs.48 - gsmtp
Ran into problems sending Mail. Response: 502 5.5.1 Unrecognized command. r10-20020a5d494a000000b0021e40019ae7sm4247317wrs.48 - gsmtp 

The module should be able to send out mails by applying the provided configuration.

Possible Solution

By looking into the PHP file that takes care of the function I observed that no TLS/STARTTLS is supported and from what I have read so far the module would need additional libs that provide these methods. I am not a PHP dev. so I have to read/try out a lot in order to maybe find a proper solution. Maybe someone more experienced is able to adjust this module in an hour :)

Steps to Reproduce (for bugs)

  1. Configure the mail module with the according settings
  2. Enable that "internet" mails will be sent out by the system
  3. Sent a mail as "internet" mail to a registered user

Context

Your Environment

  • Version used:

  • PHP Version 7.2.34

    MySQLi-Extension mysqlnd 5.0.12-dev

    MySQL Server Version 5.6.51

  • Operating System and version: Ubuntu 18.04.6 LTS

  • Enabled features:

@Schmurki
Copy link
Author

I have modified the script by using the PHPMailer lib and it works currently pretty good. In case anyone has the same issue, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant