title: Sending Mail with via SMTP using WordPress?
body: <p>First of all i want to say i dont know much about the smtp email php_mail things. I'm using email plugin to use smtp mail. I configured my smtp options then tested email with test function. </p>
  
  <p>There is the log:</p>
  
  <pre><code>Test Message Sent
  The result was:
  bool(true)
  The full debugging output is shown below:
  object(PHPMailer)#4817 (65) {
    ["Priority"]=&gt;
    int(3)
    ["CharSet"]=&gt;
    string(5) "UTF-8"
    ["ContentType"]=&gt;
    string(10) "text/plain"
    ["Encoding"]=&gt;
    string(4) "8bit"
    ["ErrorInfo"]=&gt;
    string(0) ""
    ["From"]=&gt;
    string(24) "destektazedizi@gmail.com"
    ["FromName"]=&gt;
    string(16) "Taze Dizi Destek"
    ["Sender"]=&gt;
    string(0) ""
    ["ReturnPath"]=&gt;
    string(0) ""
    ["Subject"]=&gt;
    string(47) "WP Mail SMTP: Test mail to farukest90@gmail.com"
    ["Body"]=&gt;
    string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
    ["AltBody"]=&gt;
    string(0) ""
    ["MIMEBody":protected]=&gt;
   string(69) "This is a test email generated by the WP Mail SMTP WordPress plugin.
  "
    ["MIMEHeader":protected]=&gt;
    string(377) "Date: Thu, 1 May 2014 16:35:44 +0000
  Return-Path: destektazedizi@gmail.com
  From: Taze Dizi Destek 
  Message-ID: &lt;590991a14f48ccff103ebaef7f3a0ac8@www.tazedizi.com&gt;
  X-Priority: 3
  X-Mailer: PHPMailer 5.2.4 (http://code.google.com/a/apache-extras.org/p/phpmailer/)
  MIME-Version: 1.0
  Content-Transfer-Encoding: 8bit
  Content-Type: text/plain; charset=UTF-8
  "
    ["mailHeader":protected]=&gt;
    string(82) "To: farukest90@gmail.com
      Subject: WP Mail SMTP: Test mail to farukest90@gmail.com
  "    
    ["WordWrap"]=&gt;
    int(0)
    ["Mailer"]=&gt;
    string(4) "mail"
    ["Sendmail"]=&gt;
    string(18) "/usr/sbin/sendmail"
        ["UseSendmailOptions"]=&gt;
    bool(true)
    ["PluginDir"]=&gt;
    string(0) ""
    ["ConfirmReadingTo"]=&gt;
    string(0) ""
    ["Hostname"]=&gt;
    string(0) ""
       ["MessageID"]=&gt;
    string(0) ""
    ["MessageDate"]=&gt;
    string(0) ""
    ["Host"]=&gt;
    string(9) "localhost"
    ["Port"]=&gt;
    int(25)
    ["Helo"]=&gt;
    string(0) ""
    ["SMTPSecure"]=&gt;
    string(3) "ssl"
    ["SMTPAuth"]=&gt;
    bool(false)
    ["Username"]=&gt;
    string(0) ""
    ["Password"]=&gt;
    string(0) ""
    ["AuthType"]=&gt;
    string(0) ""
    ["Realm"]=&gt;
    string(0) ""
    ["Workstation"]=&gt;
    string(0) ""
    ["Timeout"]=&gt;
    int(10)
    ["SMTPDebug"]=&gt;
    bool(true)
    ["Debugoutput"]=&gt;
    string(4) "echo"
    ["SMTPKeepAlive"]=&gt;
    bool(false)
    ["SingleTo"]=&gt;
    bool(false)
    ["SingleToArray"]=&gt;
    array(0) {
    }
    ["LE"]=&gt;
        string(1) "
  "
    ["DKIM_selector"]=&gt;
    string(0) ""
    ["DKIM_identity"]=&gt;
    string(0) ""
    ["DKIM_passphrase"]=&gt;
    string(0) ""
    ["DKIM_domain"]=&gt;
    string(0) ""
    ["DKIM_private"]=&gt;
    string(0) ""
   ["action_function"]=&gt;
    string(0) ""
    ["Version"]=&gt;
    string(5) "5.2.4"
    ["XMailer"]=&gt;
    string(0) ""
    ["smtp":protected]=&gt;
    NULL
    ["to":protected]=&gt;
    array(1) {
      [0]=&gt;
      array(2) {
        [0]=&gt;
        string(20) "farukest90@gmail.com"
        [1]=&gt;
        string(0) ""
      }
    }
    ["cc":protected]=&gt;
    array(0) {
    }
    ["bcc":protected]=&gt;
    array(0) {
    }
    ["ReplyTo":protected]=&gt;
    array(0) {
    }
    ["all_recipients":protected]=&gt;
    array(1) {
      ["farukest90@gmail.com"]=&gt;
      bool(true)
    }
    ["attachment":protected]=&gt;
        array(0) {
    }
    ["CustomHeader":protected]=&gt;
    array(0) {
    }
    ["message_type":protected]=&gt;
    string(5) "plain"
    ["boundary":protected]=&gt;
    array(3) {
      [1]=&gt;
      string(35) "b1_590991a14f48ccff103ebaef7f3a0ac8"
      [2]=&gt;
      string(35) "b2_590991a14f48ccff103ebaef7f3a0ac8"
      [3]=&gt;
      string(35) "b3_590991a14f48ccff103ebaef7f3a0ac8"
    }
    ["language":protected]=&gt;
    array(0) {
    }
    ["error_count":protected]=&gt;
    int(0)
    ["sign_cert_file":protected]=&gt;
    string(0) ""
    ["sign_key_file":protected]=&gt;
    string(0) ""
    ["sign_key_pass":protected]=&gt;
    string(0) ""
    ["exceptions":protected]=&gt;
     bool(true)
  }
  </code></pre>
  
  <p><strong>My configuration :</strong></p>
  
  <p><strong>Froma Mail :</strong> <code>mymail@gmail.com</code></p>
  
  <p><strong>From Name  :</strong> <code>Site Name</code></p>
  
  <p><strong>Using      :</strong> <code>Send all WordPress emails via SMTP</code></p>
  
  <p><strong>Smtp Host  :</strong> <code>smtp.gmail.com</code></p>
  
  <p><strong>Smtp Port  :</strong> <code>465</code></p>
  
  <p><strong>Encryption :</strong> <code>USE SSL Encryption</code></p>
  
  <p><strong>Authent.   :</strong> <code>Use SMTP authentication</code></p>
  
  <p><strong>Username   :</strong> <code>mymail@gmail.com</code></p>
  
  <p><strong>Password   :</strong> <code>mymail@gmail's password</code></p>
  
  <p>Where am i doing wrong. Hope you can help me.</p>