Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Vanilla on IIS - smtp error

edited September 2007 in Vanilla 1.0 Help
I'm getting the following smtp error whenever Vanilla tries to send an email: SMTP server response: 501 5.5.4 Invalid Address in I believe this is the same issue as reported on Drupal here: http://drupal.org/node/92041 On Windows, the mail() function doesn't accept addresses like "name <email@host.com>" . We've hacked a fix, but wanted to report it so that it can be fixed in the next release. in library\Framework\Framework.Class.Email.php: We changed line 120 as follows, to output an address formatted like "email@host.com" //$Header .= "From: ".$this->FromName." <".$this->FromEmail.">\r\n"; $Header .= "From: ".$this->FromEmail."\r\n";

Comments

  • MarkMark Vanilla Staff
    Strange - I'm using windows locally and I've never had a problem with sending email with that class...
  • Very strange! I believe we're on Windows Server 2003 SP1 w/ IIS 6.0 and PHP 5.2.0.
  • Having the same problem, glad i found this, though shouldnt be talking too soon, not tested in my enviroment yet!
This discussion has been closed.