#207 empty recipient field

BASE
closed-fixed
nobody
None
5
2009-03-15
2008-11-07
Anonymous
No

When sending alerts to email address ("Email alert(s)" actions), the recipient field is empty.
Thia patch fixes that:

--- base_action.inc.php.org 2008-07-06 00:21:32.000000000 +0400
+++ base_action.inc.php 2008-11-07 18:19:11.000000000 +0300
@@ -779,11 +779,12 @@
$smtp_user = $action_email_smtp_user;
$smtp_pw = $action_email_smtp_pw;

+ $mail_recip = $action_arg;
$hdrs = array('From' => $action_email_from,
+ 'To' => $mail_recip,
'Subject' => $action_email_subject
);
$mail_content = $action_email_msg . _GENBASE . " v$BASE_VERSION on ".date("r",time())."\n";
- $mail_recip = $action_arg;

/* alerts inline */
if ( $action_email_mode == 0 )

Discussion

  • Hello,

    submitted to CVS. Thank you very much for your patch.

    Bye bye,

    Juergen

     
  • Kevin Johnson
    Kevin Johnson
    2009-03-15

    • status: open --> closed-fixed