? NPM Resource Changed ? ? Success

User tests: Successful: Unsuccessful:

avatar roland-d
roland-d
19 Jan 2019

Summary of Changes

Currently when you want to send out a test mail you get a notice that it is not possible because mail sending is disabled, even though it is enabled. Added the lost language strings as well.

Testing Instructions

  1. Make sure you have a Joomla 4 installation
  2. Click on System in the menu
  3. Click on Global Configuration
  4. Click on the Server tab
  5. Make sure that Send Mail is enabled
  6. Click on Send Test Mail
  7. Notice you get a message saying that mail sending has been disabled:

image

  1. Apply the patch
  2. Run the npm ci in the Joomla folder to generate the updated files
  3. Click Send Test Mail
  4. Notice that the test email has been sent

image

I may need help to correctly generate all JS files, so if there is any issues please let me know.

Expected result

That the test email is send when mail sending is active

Actual result

The test email is not send when mail sending is active

Documentation Changes Required

None

avatar roland-d roland-d - open - 19 Jan 2019
avatar roland-d roland-d - change - 19 Jan 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Jan 2019
Category Administration Language & Strings JavaScript Repository Front End Templates (site)
avatar roland-d roland-d - change - 19 Jan 2019
The description was changed
avatar roland-d roland-d - edited - 19 Jan 2019
avatar ChristineWk
ChristineWk - comment - 19 Jan 2019

I have tested this item ? unsuccessfully on bb3aa23

Confirm testing instructions, except for:
9. Run the npm ci in the Joomla folder to generate the updated files

That's why Tested unsuccessfully? sorry :-)
Do I hv to install e.g. https://docs.npmjs.com/cli/ci.html?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23591.
avatar ChristineWk ChristineWk - test_item - 19 Jan 2019 - Tested unsuccessfully
avatar roland-d
roland-d - comment - 19 Jan 2019

Hello @ChristineWk Not being able to execute the test instruction isn't really an invalid test ;)
Have a look at J4 Setting Up your Local Environment and see if that helps. This npm stuff is needed for many PRs so it is handy to have.

avatar roland-d roland-d - change - 19 Jan 2019
Labels Added: ? ?
avatar ChristineWk
ChristineWk - comment - 19 Jan 2019

Hi @roland-d I feared it :-)
delete from above URL the: ]. Site is empty. Found: https://docs.joomla.org/J4.x:Setting_Up_Your_Local_Environment/en
You are right - but it's difficult :-) Thank you for info and understanding. Can or should I delete the "unsuccessfully"?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23591.

avatar wilsonge
wilsonge - comment - 19 Jan 2019

@zero-24 RIPS please

avatar roland-d
roland-d - comment - 19 Jan 2019

@ChristineWk Test seems to have been removed already, all is good and link is fixed. Thank you.

avatar zero-24
zero-24 - comment - 19 Jan 2019
avatar zero-24
zero-24 - comment - 19 Jan 2019

Drone is happy now cc @wilsonge

avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2019
Category Administration Language & Strings JavaScript Repository Front End Templates (site) Administration Language & Strings JavaScript Repository NPM Change
avatar roland-d
roland-d - comment - 24 Feb 2019

@zero-24 Please check RIPS, it gives an ISE.

avatar ladyjer ladyjer - test_item - 25 Feb 2019 - Tested successfully
avatar ladyjer
ladyjer - comment - 25 Feb 2019

I have tested this item successfully on 7455c37

Hi,

fix about mailonline is ok and I tested successfully, but I had to force $tls=false in library /vendor/phpmailer/phpmailer/src/PHPMailer.php, just before if instruction at row n. 1945, to send mail correctly. Its my smtp server fault.

In joomla 3.9 staging I have option "SMTP Security" option set to "None" to let it work. I set to "None" in Joomla 4 dev too, but to send the email I need to force $tls value to false. I think is something about SMTPAutoTLS functionality.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23591.

avatar ladyjer
ladyjer - comment - 25 Feb 2019

I have tested this item successfully on 7455c37

Hi,

fix about mailonline is ok and I tested successfully, but I had to force $tls=false in library /vendor/phpmailer/phpmailer/src/PHPMailer.php, just before if instruction at row n. 1945, to send mail correctly. Its my smtp server fault.

In joomla 3.9 staging I have option "SMTP Security" option set to "None" to let it work. I set to "None" in Joomla 4 dev too, but to send the email I need to force $tls value to false. I think is something about SMTPAutoTLS functionality.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23591.

avatar roland-d roland-d - change - 26 Feb 2019
Labels Added: NPM Resource Changed
avatar roland-d
roland-d - comment - 26 Feb 2019

@ladyjer Thank you for testing. Indeed your issue with TLS is not related. Feel free to create a new issue so this can be further investigated.

avatar Quy
Quy - comment - 26 Feb 2019

Tested on launch.joomla.org where the message is displayed correctly, but I don't get the test email. Should this still be considered a successful test?

avatar roland-d
roland-d - comment - 27 Feb 2019

@Quy Can those sites actually email? I believe the test is still successful because it shows the fixes I have done are working. As in the mail is triggered and the message is showing correctly.

avatar infograf768 infograf768 - change - 27 Feb 2019
Title
[com_config] Fixed sending the test mail
[4.0][com_config] Fixed sending the test mail
avatar infograf768 infograf768 - edited - 27 Feb 2019
avatar infograf768 infograf768 - test_item - 27 Feb 2019 - Tested successfully
avatar infograf768
infograf768 - comment - 27 Feb 2019

I have tested this item successfully on 7041c42

Works fine. tested with smtp.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23591.

avatar infograf768
infograf768 - comment - 27 Feb 2019

rebooted drone.we will see.

avatar Quy Quy - change - 27 Feb 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 27 Feb 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23591.

avatar wilsonge wilsonge - change - 27 Feb 2019
Labels Added: ?
avatar wilsonge wilsonge - change - 27 Feb 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-02-27 18:21:15
Closed_By wilsonge
avatar wilsonge wilsonge - close - 27 Feb 2019
avatar wilsonge wilsonge - merge - 27 Feb 2019
avatar wilsonge
wilsonge - comment - 27 Feb 2019

Thanks!

avatar joeforjoomla
joeforjoomla - comment - 19 Mar 2019

There is still something wrong here, It's not possible to connect to SMTP server without any SSL/TLS because $SMTPAutoTLS in the PHPMailer class is always true and not managed in any way by the mail class or Joomla options.

image

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 Mar 2019

@joeforjoomla please open a new Issue and set a link here.

Add a Comment

Login with GitHub to post a comment