People don't get the security email

Bug #826250 reported by Rjcfan4ever
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Jisko
Status tracked in Trunk
3.0
New
Undecided
Unassigned
3.1
New
Undecided
Unassigned
Trunk
New
Undecided
Unassigned

Bug Description

People don't get the security email, so they can't sign up except if I put email security off, but that is to dangerous.

Revision history for this message
serafim (milerbrane) wrote :

On your mails.php file is a error:
$headers .= "Content-type: text/html; charset=UTF-8\r\n";
$headers .= "From: ".$jk->name." <".$jk->admin_mail.">";
Before (=) there was (.) then i remove it and mails gets on inbox. Error was that headers are not show on from in reciver mail and automatic is spam or refused!
Right code:
$headers = "Content-type: text/html; charset=UTF-8\r\n";
$headers = "From: ".$jk->name." <".$jk->admin_mail.">";

Revision history for this message
Rubén Díaz (outime) wrote :

If we remove the ".", that would mean we're not telling the mail server what kind of content is being sent.

Current code is like the following:

  $headers = "MIME-Version: 1.0\r\n";
  $headers .= "Content-type: text/html; charset=UTF-8\r\n";
  $headers .= "From: ".$jk->name." <".$jk->admin_mail.">";

What is probably happening imho is that spam filters are giving an increased amount of spam points because of the HTML and some words. Two possible solutions would be:

a) Use plain text (dirty one)
b) Use a spam filter (someone said SpamAssassin?) and check the analysis results.

Since Jisko is not being developed anymore, and it's only accepting security/bug patches... if someone is able to provide some additional, clarifying information about this, I'll be glad to include it as a new revision at out SVN.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.