Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding a 'client' option to EmailComponent:: for specifying the host …

…to be used in the SMTP HELO request; defaults to env('HTTP_HOST'). Fixes #6264.

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8194 3807eeeb-6ff5-0310-8944-8be069107fe0
  • Loading branch information...
commit d335fefbee819c18cba9b33d32e65f36824b7693 1 parent e54dbd4
Joel Perras jperras authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/controller/components/email.php
4 cake/libs/controller/components/email.php
View
@@ -674,8 +674,8 @@ function __smtp() {
return false;
}
- if (isset($this->smtpOptions['host'])) {
- $host = $this->smtpOptions['host'];
+ if (isset($this->smtpOptions['client'])) {
+ $host = $this->smtpOptions['client'];
} else {
$host = env('HTTP_HOST');
}
Please sign in to comment.
Something went wrong with that request. Please try again.