title: Send email using phpmailer on GoDaddy hosting
body: <p>I'm trying to send a email using the GoDaddy but the problem is my code isn't working.</p>
  
  <p>Do I need to configure something on GoDaddy? The idea is I have a customer and they have a gmail account. The site has a form and the customer needs to receive all the submitted contact information to their gmail account.</p>
  
  <p>I have no idea how to do it and have tried for three days with no success.</p>
  
  <p>This is the code that I'm using to send the emails to the account:</p>
  
  <pre><code>/* Instanciando as Bibliotecas Responsaveis pelo PHPMailer */
  require_once '../PHPMailer/class.phpmailer.php';
  require_once '../PHPMailer/class.smtp.php';
  
  
  /* Instanciando a Classe de Email */
  $email  = new PHPMailer();
  
  /* Configurando o Email. */
  $email-&gt;SMTPSecure   = "ssl";
  $email-&gt;IsSMTP();
  $email-&gt;SMTPAuth     = true;
  
  $email-&gt;Host         = "smtpout.secureserver.net";
  $email-&gt;Port         = 465;
  
  
  
  $email-&gt;Username     = "email@example.com";
  $email-&gt;Password     = "";
  $email-&gt;IsHTML(true);
  
  
  /* Configuracoes de quem Esta Mandando o Email. */
  $email-&gt;SetFrom($_POST['txtEmail'], $_POST['txtName']);
  $email-&gt;AddReplyTo($_POST['txtEmail'], $_POST['txtName']);
  $email-&gt;From         = "email@example.com";
  $email-&gt;FromName     = $_POST['txtName'];
  $email-&gt;AddAddress('email@example.com');
  $email-&gt;Subject      = 'Contact Us Email';
  $email-&gt;Body         =  'Name : '           .$_POST['txtName'].             '&lt;br/&gt;'.
                          'Email : '          .$_POST['txtEmail'].            '&lt;br/&gt;'.
                          'Especialidade : '  .$_POST['txtEspecialidade'] .   '&lt;br/&gt;'.
                          'Phone : '          .$_POST['txtTelefone'].         '&lt;br/&gt;'.
  
                          'Message : '        .$_POST['txtComentario'];
  
  /* Verificar se o Email foi Enviado com Sucesso */
  if($email-&gt;Send()):
      $Mensagem = 'Email Enviado com Sucesso';
  else:
      $Mensagem = 'Erro ao Enviar o Email '.$email-&gt;ErrorInfo;
  endif;
  
  /* Mostrar o Resultado. */
  echo $Mensagem;
  </code></pre>
  
  <p>I'm sorry but it's in Portuguese. Thanks people.</p>