title: Yii2 Swiftmailier not working with Godaddy SMTP setting
body: <p>Swiftmailier Gmail SMTP is working every where but not on Godaddy hosting as they don't allow third party and they gave following settings</p>
  
  <pre><code>'mailer' =&gt; [
      'class' =&gt; 'yii\swiftmailer\Mailer',
      'viewPath' =&gt; '@common/mail',
      'useFileTransport' =&gt; false,
      'transport' =&gt; [
          'class' =&gt; 'Swift_SmtpTransport',
          Host = relay-hosting.secureserver.net
          Port = 25
          SMTPDebug = 0
          SMTPSecure =none 
          SMTPAuth = false
          Username = none
          Password = none
      ]
  ]
  </code></pre>
  
  <p>This configuration started sending emails but stopped now. </p>
  
  <p>Errors are following:</p>
  
  <ul>
  <li><blockquote>
    <p>undefined method "SMTPDebug "</p>
  </blockquote></li>
  <li><blockquote>
    <p>undefined method "SMTPSecure "</p>
  </blockquote></li>
  <li><blockquote>
    <p>undefined method "SMTPAuth "</p>
  </blockquote></li>
  <li><blockquote>
    <p>Connection failed </p>
  </blockquote></li>
  </ul>
  
  <p>I have tried almost everything, even approached Godaddy support but not getting any solution.  </p>
  
  <p>How can I set SMTPDebug  / SMTPSecure  / SMTPAuth these values in following configuration or how can my script start sending emails</p>