fix pluggable smtp/mail framework

pwolanin - November 7, 2008 - 01:40
Project:Drupal
Version:7.x-dev
Component:base system
Category:task
Priority:critical
Assigned:pwolanin
Status:needs review
Issue tags:API change, Favorite-of-Dries, Needs Documentation
Description

Branched from: http://drupal.org/node/259103

With the advent of the code registry, several of the existing pluggable frameworks can no longer work as intended since they assume multiple include files with the same functions defined.

The patch will basically follow the outline at http://www.garfieldtech.com/blog/pluggable-systems-howto with the addition of a declared interface to make it a well-defined API.

#1

pwolanin - November 7, 2008 - 01:55
Category:task» bug report
Status:active» needs review

here's the smtp patch

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-1.patch6.6 KBIdleFailed: Failed to install HEAD.View details | Re-test

#2

Rob Loach - November 7, 2008 - 21:57

Oh man, this is awesome.

Marked #28604: Separate mail backend as duplicate.

#3

Rob Loach - November 7, 2008 - 23:11
Status:needs review» needs work

For tests, what are your thoughts on something like this? The test, unfortunately, isn't passing and I'm not too sure why....

AttachmentSizeStatusTest resultOperations
331180.patch7.76 KBIdleFailed: Failed to install HEAD.View details | Re-test

#4

Rob Loach - November 7, 2008 - 23:37
Status:needs work» needs review

The test now works.... Should DrupalSmtpInterface be renamed to DrupalMailInterface because sometimes you're not using SMTP to send mail?

AttachmentSizeStatusTest resultOperations
331180.patch8.69 KBIdleFailed: Failed to install HEAD.View details | Re-test

#5

pwolanin - November 8, 2008 - 16:37

In D6 we called the library the "smtp_library" regardless of how it was implemented. So, the naming was basically an extension of that existing convention.

That being said, I don't really care waht we call the interface and the facory function if you can think of something else reasonable and reasonably short.

#6

pwolanin - November 8, 2008 - 23:17
Status:needs review» needs work

for some reason this test is not working, but should be close to being done overall.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-6.patch9.46 KBIdleFailed: Failed to install HEAD.View details | Re-test

#7

Rob Loach - November 11, 2008 - 00:00
Status:needs work» needs review

The problem is that you're running a different instance, so you're using the wrong $sent_message. Making it static, and referencing the static variable makes us reference the correct value.

AttachmentSizeStatusTest resultOperations
331180.patch9.43 KBIdleFailed: Failed to install HEAD.View details | Re-test

#8

pwolanin - November 11, 2008 - 03:59

ah, we are dealing with 2 instances of the object - that's why static is needed.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-7.patch9.59 KBIdleFailed: Failed to apply patch.View details | Re-test

#9

Rob Loach - November 11, 2008 - 19:35

Umm, that's what I said after fixing it in both #4 and #7 :-P .......

#10

pwolanin - November 12, 2008 - 02:35

@Rob Loach - I must have cross-posted with you (I had the window open for a long time) - didn't see your comment/patch in #7 when I made mine (which was more of a response to dimitrig01 in IRC).

#11

System Message - November 16, 2008 - 22:00
Status:needs review» needs work

The last submitted patch failed testing.

#12

pwolanin - November 17, 2008 - 01:14
Status:needs work» needs review

apparently HEAD was broken for a bit. re-rolled patch to remove offset and re-tested.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-12.patch7.86 KBIdleFailed: Failed to apply patch.View details | Re-test

#13

pwolanin - November 17, 2008 - 02:07

whoops - patch missed the new test file.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-14.patch9.59 KBIdleFailed: Failed to apply patch.View details | Re-test

#14

Rob Loach - November 17, 2008 - 18:01

The only thing I'm not too fond of in this patch, or the Drupal mail system in general, is the $module and $key mentality....

<?php
function drupal_send($module, $key) {
  static
$instances = array();

 
$id = $module . '_' . $key;
 
$configuration = variable_get('mail_sending_system', array('default' => 'DrupalMailSend'));

 
// Look for overrides for the default class, starting from the most specific
  // id, and falling back to the module name.
 
if (isset($configuration[$id])) {
   
$class = $configuration[$id];
  }
  elseif (isset(
$configuration[$module])) {
   
$class = $configuration[$module];
  }
  else {
   
$class = $configuration['default'];
  }

  if (empty(
$instances[$class])) {
   
$interfaces = class_implements($class);
    if (isset(
$interfaces['DrupalMailSendingInterface'])) {
     
$instances[$class] = new $class;
?>

Although it might be out of scope for this patch, there must be a better way of using this $module and $key implementation. Also, it would be nice to have some documentation saying how to use the mail system through variable get and DrupalMailSendingInterface..... That's a much better name then DrupalSmtpInterface, by the way.

#15

pwolanin - November 17, 2008 - 20:29

@Rob Loach - this seems to me to be the simplest logic to get the desired behavior from the id/module. However, you may be right that some more code comments should be supplied to direct the developer.

#16

pwolanin - November 21, 2008 - 01:50

greatly expanded code comments.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-16.patch8.77 KBIdleFailed: Failed to apply patch.View details | Re-test

#17

keith.smith - November 21, 2008 - 01:58

:) Note there's an "incorrecly" in there. Déjà vu.

#18

pwolanin - November 21, 2008 - 13:53

hmm, that typo was in code comments I just copy/pasted- but fixed now.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-18a.patch8.77 KBIgnoredNoneNone

#19

pwolanin - November 21, 2008 - 14:08

whoops - omitted the new mail.test file from the patch.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-19.patch10.51 KBIdleFailed: Failed to apply patch.View details | Re-test

#20

Rob Loach - November 25, 2008 - 01:12
Status:needs review» reviewed & tested by the community

Looked great! Tests pass, lots of documentation is available. Setting this to RTBC.... This patch simply adds a code doc description to the DrupalMailSend class.

AttachmentSizeStatusTest resultOperations
331180.patch10.41 KBIdleFailed: Failed to apply patch.View details | Re-test

#21

Damien Tournoud - December 7, 2008 - 17:31
Priority:normal» critical

We need this to properly implement mail catch-up in simpletest (the test framework currently try to send mail outsite... not that great). Raising to critical.

#22

Rob Loach - December 7, 2008 - 23:11

DamZ: I think testing the mail system itself is out of scope for this issue and can live nicely in a post-patch here: #276409: Tests needed mail.inc. This issue is just to make the mail framework pluggable.

#23

pwolanin - December 7, 2008 - 23:50

@Rob - I think DamZ was supporting this patch as a prerequisite for better handling of mail during tests.

#24

Rob Loach - December 8, 2008 - 09:02

Ah, cool. Thanks guys!

#25

System Message - December 9, 2008 - 02:35
Status:reviewed & tested by the community» needs work

The last submitted patch failed testing.

#26

Dave Reid - December 9, 2008 - 03:29

The function "drupal_send" feels too ambiguous. Does it send mail? http requests? kittens? :)

#27

pwolanin - December 9, 2008 - 13:06

@Dave Reid: Webchick and I struggled for some time to come up with even this (still somewhat lame) naming. If you have a better suggestion, please make it.

#28

Dave Reid - December 9, 2008 - 14:22

1. drupal_mail_send()->mail()
2. drupal_send_mail()->mail()
3. drupal_send_mail()->send()
4. drupal_mail()->send() - Conflicts with existing function name

Numbers 2 or 3 seem easiest to figure out what it's doing and follows the drupal_verb_noun syntax.

#29

pwolanin - December 9, 2008 - 20:39

Well, I'm not sure any of those are better than what's already in the patch, to be honset.

This is only ever used as drupal_send()->mail() in core, so we'll already have the verb-noun there to see.

#30

catch - December 9, 2008 - 21:45

I think drupal_send()->mail() is good. Is there any chance this'll ever be used for non-email?

#31

Damien Tournoud - December 9, 2008 - 22:08

I suggest drupal_smtp->send().

#32

pwolanin - December 9, 2008 - 23:07

@Damien - I has something like that originally - but was pushed to find something else since (as you know) this may actually log the mail or do something else with it rather than send it out via smtp.

#33

c960657 - December 19, 2008 - 22:36

It is important that all implementors of DrupalMailSendingInterface work in the same way so that callers know exactly how the mailer behaves regardless what implementation is used. PHP's mail() has some rather subtle features that are inherited by DrupalMailSend. These should be properly documented, so that alternative implementations can replicate these.

It should be documented, that mail() looks for Cc and Bcc headers and sends the mail to addresses in these headers too. Note that splitting a Cc header, e.g. "Lorem, ipsum" <foo@example.org>, bar@example.org, into separate addresses is not completely trivial, so perhaps it would be better to make the caller supply all recipients in a structured array, e.g.

array(
  'to' => 'foobar@example.com',
  'cc' => array(
    array('Lorem, ipsum', 'foo@example.org'),
    'bar@example.org'
  )
)

+   *   - to
+   *      The mail address or addresses where the message will be sent to. The
+   *      formatting of this string must comply with RFC 2822. Some examples are:
+   *       user@example.com
+   *       user@example.com, anotheruser@example.com
+   *       User <user@example.com>

According to the PHP manual page, the latter format is not supported on Windows.

+   *   - headers
+   *      Associative array containing all mail headers.

It should be documented whether this array contains all headers or only those not specified by other arguments (to, subject).

It should be documented how to specify the envelope sender, i.e. the address used in the MAIL FROM: SMTP command. This address is used for bounce messages. mail() does this using a fifth parameter (see #131737: Return-Path overwritten by the PHP mail() function). The PEAR Mail package (and possibly others?) uses the Return-Path header for this. Note that according to RFC 2821, section 4.4, "[a] message-originating SMTP system SHOULD NOT send a message that already contains a Return-path header field", so if this header is used, it should not actually be sent on the wire.

#34

Dries - January 6, 2009 - 15:43

#35

chx - January 22, 2009 - 18:58

Note that I used module_invoke(variable_get('field_storage_module', 'field_sql_storage'), $op, $arg1, $arg2); in field module. That's like a Drupal-ish solution...

#36

pwolanin - January 24, 2009 - 00:47

@chx - as much as that is more Drupalish in some ways, I think an "Interface" is exactly the right thing for these cases - it clearly defines exactly which methods need to be implemented in order to plug in.

#37

pwolanin - January 24, 2009 - 20:22
Status:needs work» needs review

re-rolled patch with somewhat expanded code comments as suggested.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-37.patch9.86 KBIdleFailed: 11849 passes, 4 fails, 2 exceptionsView details | Re-test

#38

Rob Loach - January 25, 2009 - 03:06
Status:needs review» postponed

This is looking RTBC! Well done, Peter. So this is how you spend your theming seminar? Hahaha.... Crell just posted #363787: Plugins: Swappable subsystems for core, so I think we should use that when it goes in. The code changes won't be much from the current patch.

#39

c960657 - January 25, 2009 - 14:05

The mail interface seems to be modeled after how PHP's mail() works. I don't think mail() has a very clean interface. It gives the impression that the envelope sender and recipient(s) has to appear in the message headers, and that the subject header has some kind of special status. The requirement that implementations should be able to parse a "Doe, John" <jd@example.net>, foobar@example.org style address in order to get the recipient list seems like a needlessly complex requirement.

I don't expect the pluggable SMTP handler to be called directly by modules, so it doesn't have to be very "user friendly", i.e. the subject header might as well be submitted as part of the header array. Also, the requirement that implementations should accept both LF and CR LF seems like a convenience feature that should be moved to drupal_mail() instead of being duplicated in every implementation.

I suggest that the $message parameter should contain the following entries: envelope_sender (in simple format as accepted by valid_email_address()), envelope_recipients (array of simple addresses), headers (array), and body (string). The headers array should mention all headers, including To, From, Subject etc.

#40

mfb - May 6, 2009 - 20:30

Subscribe.

#41

mr.baileys - May 26, 2009 - 10:41

FYI, #321771: Make drupal_mail_wrapper a hook. is trying to achieve the same goal but via a different solution. It might make sense to select the best approach and close that issue or this one.

#42

pwolanin - July 30, 2009 - 13:04
Status:postponed» needs review

given that handlers is still lingering we should get some version of this done asap

#43

System Message - July 30, 2009 - 13:40
Status:needs review» needs work

The last submitted patch failed testing.

#44

pwolanin - August 9, 2009 - 15:42
Status:needs work» needs review

reworked the simplest handing of e-mails so tests should pass for contact module.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-44.patch14.08 KBIdleFailed: Failed to apply patch.View details | Re-test

#45

sun - August 16, 2009 - 04:36
Status:needs review» needs work

+++ includes/mail.inc
@@ -140,43 +140,43 @@ function drupal_mail($module, $key, $to, $language, $params = array(), $from = N
+   * More information in the <a href="http://php.net/manual/en/function.mail.php">

Exceeds 80 chars.

+++ includes/mail.inc
@@ -140,43 +140,43 @@ function drupal_mail($module, $key, $to, $language, $params = array(), $from = N
+   * PHP function reference for mail()</a>. See drupal_mail() for information on
+   * how $message is composed.

Should use @see in both cases.

+++ includes/mail.inc
@@ -140,43 +140,43 @@ function drupal_mail($module, $key, $to, $language, $params = array(), $from = N
+   *   - id
...
+   *   - to
...
+   *   - subject
...
+   *   - body
...
+   *   - headers

Wrong indentation.

Description should follow after a colon of the element property.

(and elsewhere)

+++ includes/mail.inc
@@ -140,43 +140,43 @@ function drupal_mail($module, $key, $to, $language, $params = array(), $from = N
+   *      formatting of this string must comply with RFC 2822. Some examples are:
+   *       user@example.com
+   *       user@example.com, anotheruser@example.com
+   *       User <user@example.com>
+   *       User <user@example.com>, Another User <anotheruser@example.com>

Exceeds 80 chars.

Should use the regular list syntax to list stuff.

+++ includes/mail.inc
@@ -195,6 +195,142 @@ function drupal_mail_send($message) {
+   * @param  $message
...
+   * @param  $message

Double space.

+++ includes/mail.inc
@@ -195,6 +195,142 @@ function drupal_mail_send($message) {
+   *   An e-mail message. See drupal_mail() for information on how $message is composed.

Exceeds 80 chars.

+++ includes/mail.inc
@@ -195,6 +195,142 @@ function drupal_mail_send($message) {
+/**
+ * Returns an object that implements DrupalMailSendingInterface.
...
+ *

Trailing white-space.

+++ includes/mail.inc
@@ -195,6 +195,142 @@ function drupal_mail_send($message) {
+ * name as the value for the key corresponding to the module name.  For example

Double space.

+++ modules/simpletest/tests/mail.test
@@ -0,0 +1,57 @@
+   * Implementation of setUp().

Trailing white-space.

15 days to code freeze. Better review yourself.

#46

pwolanin - August 16, 2009 - 19:30

With suggested (and more) doxygen fixes, plus make sure all implementations of mail() return a boolean.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-46.patch14.67 KBIdleFailed: Failed to apply patch.View details | Re-test

#47

webchick - August 16, 2009 - 19:32
Status:needs work» needs review

Moving to needs review so bot can take a crack at it.

#48

System Message - August 18, 2009 - 20:26
Status:needs review» needs work

The last submitted patch failed testing.

#49

Rob Loach - August 18, 2009 - 21:24
Status:needs work» needs review

What does the test bot thing of this one?

AttachmentSizeStatusTest resultOperations
331180.patch14.88 KBIdleFailed: 12348 passes, 4 fails, 0 exceptionsView details | Re-test

#50

moshe weitzman - August 19, 2009 - 03:17

fwiw, i would be happy with a variable_get('mail_inc') solution like hx proposed. thats what we do in d7 for session.inc, cache.inc,

#51

pwolanin - August 19, 2009 - 12:04

@moshe - well, look at the greater flexibility this gives us, even re: testing.

#52

pwolanin - August 19, 2009 - 16:46
Status:needs review» reviewed & tested by the community

With all test passing and doxygen fixes, I think this is good to go.

#53

webchick - August 26, 2009 - 02:43
Status:reviewed & tested by the community» needs work

+++ includes/mail.inc 18 Aug 2009 21:23:56 -0000
@@ -61,10 +61,10 @@
  * @param $to
  *   The e-mail address or addresses where the message will be sent to. The
  *   formatting of this string must comply with RFC 2822. Some examples are:
- *    user@example.com
- *    user@example.com, anotheruser@example.com
- *    User <user@example.com>
- *    User <user@example.com>, Another User <anotheruser@example.com>
+ *   - user@example.com
+ *   - user@example.com, anotheruser@example.com
+ *   - User <user@example.com>
+ *   - User <user@example.com>, Another User <anotheruser@example.com>

I see that c960657's comments about structuring the data coming into drupal_mail() so they are more sensible are not taken into account in this patch. I talked to Peter about this and he pointed out that this existing patch just basically takes the mail API we have and makes it pluggable, rather than making it actually make _sense_. Doing that would be a separate issue. I think I agree with this, even though I so very desperately loathe our current mail handling API. ;P

+++ includes/mail.inc 18 Aug 2009 21:23:56 -0000
@@ -127,7 +127,7 @@
-    $message['result'] = drupal_mail_send($message);
+    $message['result'] = drupal_send($module, $key)->mail($message);

This looks a little bit weird. We bothered to abstract the name of this thing to "drupal_send" so it wasn't tied to mailing, but yet the function you call is called "mail()". That makes me wonder why we don't just leave the function the same name.

Except now I think I remember. It's because it's not actually sending anything, it's instantiating an MailSendingThingy object and calling its mail() method.

In that case, I think we should name this to drupal_mail_sending_system() because that would be way more obvious.

+++ includes/mail.inc 18 Aug 2009 21:23:56 -0000
@@ -140,43 +140,38 @@
+class DrupalMailSend implements DrupalMailSendingInterface {
+  /**
+   * Send an e-mail message, using Drupal variables and default settings.
+   * @see http://php.net/manual/en/function.mail.php the PHP function reference
+   *   for mail().
+   * @see drupal_mail() for information on how $message is composed.
+   *

There is no need to duplicate this PHPDoc in two places. Putting it in the interface is fine.

+++ includes/mail.inc 18 Aug 2009 21:23:56 -0000
@@ -195,6 +190,144 @@
+class DrupalTestMailSend implements DrupalMailSendingInterface {
...
+class DrupalDevNullMailSend implements DrupalMailSendingInterface {

These do not belong in core's includes/mail.inc. They belong in mail_test.module or similar.

(Peter pointed out, actually simpletest.module since they need to handle mail in several tests.)

+++ includes/mail.inc 18 Aug 2009 21:23:56 -0000
@@ -195,6 +190,144 @@
+ * is taken from the value corresponding to the 'default-system' key. To use
+ * a different system for all mail sent by one module, specify also a class
+ * name as the value for the key corresponding to the module name.  For example

Though I know what you mean, that sentence is a bit awkward. Could you slightly rephrase?

+++ includes/mail.inc 18 Aug 2009 21:23:56 -0000
@@ -195,6 +190,144 @@
+ * @code
+ * array(
+ *   'default-system' => 'DrupalMailSend',
+ *   'user' => 'DevelMailLog',
+ *   'contact_page_autoreply' => 'DrupalDevNullMailSend',
+ * );
+ * @endcode

I agree with Moshe and chx that this might be overkill, and it's fancier than what we do in any other variable replacement API in Drupal. OTOH, I can see this opening the door for some very interesting things, like sending event notification emails via SMS, but not user registration emails. This gives us additional flexibility without bloating the system too badly, so I support its inclusion.

+++ includes/mail.inc 18 Aug 2009 21:23:56 -0000
@@ -195,6 +190,144 @@
+/**
+ * An interface for pluggable mail back-ends.
+ */
+interface DrupalMailSendingInterface {

There's a lot of knowledge in this issue about use cases around this, and it'd be really nice to have more background as to why a module might implement this interface.

+++ modules/simpletest/tests/mail.test 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,57 @@
+<?php
+// $Id$
+
+/**
+ * Test the Drupal mailing system.
+ */
+class MailTestCase extends DrupalWebTestCase implements DrupalMailSendingInterface {

Missing a /** @file */ thing here.

+++ modules/simpletest/tests/mail.test 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,57 @@
+  /**
+   * Implementation of getInfo().
+   */
...
+  /**
+   * Implementation of setUp().
+   */

No PHPDoc here because they're inherited from the base class.

+++ modules/simpletest/tests/mail.test 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,57 @@
+    return array(
+      'name' => t('Mail system'),
+      'description' => t('Performs tests on the pluggable mailing framework.'),
+      'group' => t('System'),
+    );

No t()s around getInfo strings.

6 days to code freeze. Better review yourself.

#54

pwolanin - August 26, 2009 - 03:30
Status:needs work» needs review

putting to needs review for the bot - still need to clean up the doxygen a little.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-54.patch16.38 KBIdleFailed: Failed to run tests.View details | Re-test

#55

System Message - August 26, 2009 - 03:42
Status:needs review» needs work

The last submitted patch failed testing.

#56

pwolanin - August 26, 2009 - 13:32
Status:needs work» needs review

what!?

trying again with doxygen fixes.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-56.patch16.83 KBIdleFailed: 12310 passes, 25 fails, 2 exceptionsView details | Re-test

#57

System Message - August 26, 2009 - 13:55
Status:needs review» needs work

The last submitted patch failed testing.

#58

pwolanin - August 26, 2009 - 16:05
Status:needs work» needs review

opps - forgot type hint in the interface and one implementation.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-58.patch16.88 KBIdleFailed: Failed to apply patch.View details | Re-test

#59

pwolanin - August 26, 2009 - 17:31
Status:needs review» reviewed & tested by the community

I think all the comments above are addressed.

#60

pwolanin - August 30, 2009 - 12:49
Category:bug report» feature request

this is really a feature request.

#61

pwolanin - August 30, 2009 - 13:18
Issue tags:+API change

this does change the API

#62

pwolanin - August 30, 2009 - 13:38
Assigned to:Anonymous» pwolanin

#63

Dries - August 31, 2009 - 06:04
Status:reviewed & tested by the community» needs work

The name of the class (DrupalMailSend) and the name of the interface (DrupalMailSendingInterface) are not 100% IMO. I'd prefer to see something like DefaultMailSystem and MailSystemInterface.

That said, what was wrong with a variable_set()/variable_get()? It feels like this solution is a bit over-engineered -- it didn't came across as an elegant solution.

#64

pwolanin - August 31, 2009 - 17:09
Status:needs work» needs review

@Dries - renaming is fine - new patch attached. The use of an array versus a scalar for the variable value is similar to the DB or caching system where we have routing to multiple possible targets.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-64.patch15.57 KBIdleFailed: Failed to apply patch.View details | Re-test

#65

System Message - August 31, 2009 - 17:15
Status:needs review» needs work

The last submitted patch failed testing.

#66

pwolanin - August 31, 2009 - 17:28
Status:needs work» needs review

silly conflict with how git expands ID tags.

AttachmentSizeStatusTest resultOperations
pluggable-smtp-331180-66.patch15.57 KBIdleFailed: Failed to apply patch.View details | Re-test

#67

pwolanin - August 31, 2009 - 17:47
Status:needs review» reviewed & tested by the community

ok, new class and interface names and tests pass

#68

webchick - August 31, 2009 - 18:31
Status:reviewed & tested by the community» needs work
Issue tags:+Needs Documentation

Ok, looks like Dries's feedback was incorporated.

Committed to HEAD! :) Please document this addition in the module upgrade guide.

#69

mfb - August 31, 2009 - 20:59
Status:needs work» needs review

Looks to me like the wrong class name is being used in mail.inc

AttachmentSizeStatusTest resultOperations
mail-class.patch1.26 KBIdleFailed: Failed to apply patch.View details | Re-test

#70

pwolanin - September 1, 2009 - 06:42
Status:needs review» reviewed & tested by the community

doh, yeah - I was tired last night.

#71

pwolanin - September 1, 2009 - 15:39
Status:reviewed & tested by the community» needs review

apparently missing some other breakage in tests too.

AttachmentSizeStatusTest resultOperations
mail-fix-331180-71.patch2.75 KBIdleFailed: Failed to apply patch.View details | Re-test

#72

mfb - September 1, 2009 - 17:08

added some more doc fixes

AttachmentSizeStatusTest resultOperations
mail-fix.patch5.97 KBIdleFailed: Failed to apply patch.View details | Re-test

#73

webchick - September 1, 2009 - 17:41
Status:needs review» needs work

Doh. :P Committed.

Back to needs work for docs.

#74

sun - November 11, 2009 - 23:38
Category:feature request» task
Status:needs work» needs review

I'm also not quite sure why an implementation of System module uses a filename of mail.sending.inc. That's not following our current standard. We can discuss this standard for D8, but for D7, we should get things consistent.

Attached patch renames the file. No other changes.

AttachmentSizeStatusTest resultOperations
system.mail_.inc_.patch6.09 KBIdlePassed: 14700 passes, 0 fails, 0 exceptionsView details | Re-test
 
 

Drupal is a registered trademark of Dries Buytaert.