savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[savannah-help-public] [sr #108243] bad From: address in project email


From: John Schmidt
Subject: [savannah-help-public] [sr #108243] bad From: address in project email
Date: Mon, 12 Aug 2013 19:28:35 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36

Follow-up Comment #3, sr #108243 (project administration):

Here is a first stab at thie problem.  I have patched
savane/frontend/php/include/sendmail.php from  

http://git.savannah.gnu.org/cgit/administration/savane.git/

That is where the PHP code appears to be constructing the headers of the
email.  Below is my diff (also, the patch is attached to this ticket).  I
would like some feedback before I commit to the savane repo.



diff sendmail.php sendmail_patch.php 
69,74c69
<   # If $from is a login name, write nice From: field
<   $fromuid = user_getid($from);
<   if (user_exists($fromuid))
<     {
<       $from = user_getrealname($fromuid, 1)."
<".user_getemail($fromuid).">";
<     }
---
>   $from = "address@hidden"


(file #28825)
    _______________________________________________________

Additional Item Attachment:

File name: sendmail_patch.php             Size:16 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108243>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]