Project

General

Profile

Feature #8308

E-mail tester screen

Added by Yannick Warnier about 5 years ago. Updated about 5 years ago.

Status:
Feature implemented
Priority:
High
Assignee:
Category:
Administration
Target version:
Start date:
28/06/2016
Due date:
% Done:

100%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Many users have issues with sending e-mails. Most of these could be solved by having a direct feedback about the mail sending.
I suggest developing a tester screen (protect by api_is_platform_admin()) through a link in this block:

The tester screen should do the following:
  • Show the current (calculated) values that result of mail.conf.php interpretation
  • Give "Destination", "Subject" and "Body" fields + a "Send" button
  • Extra: Give a div below (AJAX?) to show the results (logs) of the operation -> this last step will require small modifications to the mail function to be able to get the results back

Note that a setting: "SMTP_DEBUG" has been added to 1.10.x to give more information in terms of debug. It would be good to try and reuse it to get more info when we need it (for the div above)


Files

system-block.png (14.5 KB) system-block.png Yannick Warnier, 28/06/2016 15:49

Associated revisions

Revision 439008d4 (diff)
Added by Angel Fernando Quiroz Campos about 5 years ago

Allow test mail configuration - refs #8308

History

#1

Updated by Yannick Warnier about 5 years ago

  • Description updated (diff)
#2

Updated by Yannick Warnier about 5 years ago

  • Description updated (diff)
#3

Updated by Yannick Warnier about 5 years ago

  • Priority changed from Normal to High
#4

Updated by Angel Quiroz about 5 years ago

Tengo de momento, este formulario para enviar correos, y ver los logs de correos fallidos. Aunque los logs no se entienden bien si son desde el correo de envío o desde la recepción.

https://github.com/chamilo/chamilo-lms/compare/1.11.x...angelfqc:8308?expand=1

#5

Updated by Angel Quiroz about 5 years ago

  • % Done changed from 0 to 50
#6

Updated by Yannick Warnier about 5 years ago

Mmmm... ok but:
  • mail.conf.dist.php shouldn't be changed
  • there needs to be more documentation at the beginning of failedSentMailErrors() to explain how to configure a cron script (or a cron script should be provided) to copy the mails log to some place where it can be read by www-data
#7

Updated by Yannick Warnier about 5 years ago

  • Status changed from Assigned to Feature implemented
  • % Done changed from 50 to 100

Improved with d4f7a9c
This is good enough for me (for now). Closing the task.

Also available in: Atom PDF