stableversion-3.0
Last change
on this file since c43ea01 was
177a560,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se agrego el directorio de modulos contribuidos de drupal
|
-
Propiedad mode establecida a
100755
|
File size:
1.5 KB
|
Línea | |
---|
1 | Module: Return Path |
---|
2 | Author: Mike Carter <www.ixis.co.uk/contact> |
---|
3 | |
---|
4 | Description |
---|
5 | =========== |
---|
6 | Fixes the problem of bad email 'Return-Path' header settings which prevent email bouncebacks going to the sender |
---|
7 | of the email. |
---|
8 | |
---|
9 | |
---|
10 | Installation |
---|
11 | ============ |
---|
12 | Activate the module and it will replace the Drupal mail handling feature. In Drupal 4.7 deactivating |
---|
13 | the module requires some manual work as there is no hook_uninstall() available. |
---|
14 | |
---|
15 | To remove the module you need to delete the variable 'smtp_library' from your sites database. |
---|
16 | |
---|
17 | Executing the following PHP code on your Drupal site will also disable the module correctly:- |
---|
18 | |
---|
19 | variable_set('smtp_library', ''); |
---|
20 | |
---|
21 | |
---|
22 | Details |
---|
23 | ======= |
---|
24 | Most mail servers appear to over-write any 'Return-path' headers sent by the PHP mail() function. |
---|
25 | The 'Return-Path' value is used by some mail servers to send bounce back emails. A lot of web hosting |
---|
26 | companies send emails out with a return-path email based on the account name Apache runs as on the |
---|
27 | server, e.g. apache@example.com or nobody@example.com |
---|
28 | |
---|
29 | One solution is to define the -f sendmail parameters in the php.ini 'sendmail_path'. |
---|
30 | |
---|
31 | This is no good when running a single Apache instance with PHP as there is only one php.ini and you |
---|
32 | need to specify different return addresses for each domain. |
---|
33 | |
---|
34 | This module resolves the problem by parsing out the return-path set by Drupal modules, and passing it |
---|
35 | to the sendmail binary using the -f option, rather than sending it only in the $headers parameter of the |
---|
36 | mail() command. |
---|
37 | |
---|
38 | |
---|
39 | Credits |
---|
40 | ======= |
---|
41 | This module is the work of Mike Carter <www.ixis.co.uk/contact>. |
---|
42 | |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.