title: In symfony 1.4, using swiftmailer, setTo with parentheses in name breaks message sending
body: <p>I am having issues sending mail with swift mailer when Recipient name contains parentheses <code>(</code> and <code>)</code></p>
  
  <p>example code:</p>
  
  <pre><code>$mail = new Swift_Message();
  $mail-&gt;setTo('recipient@test.com', 'Recipient (bla bla)');
  $mail-&gt;setFrom('sender@test.com', 'Sender');
  $mail-&gt;setSubject('Test email');
  $mail-&gt;setBody('&lt;html&gt;&lt;body&gt;&lt;h3&gt;Hello&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;', 'text/html');
  sfContext::getInstance()-&gt;getMailer()-&gt;send($mail);
  </code></pre>
  
  <p>If the recipient is using gmail, he does receive the email but when clicking on the down arrow to get more info, The to: part is empty:</p>
  
  <p><img src="https://i.stack.imgur.com/TM0t4.png" alt="Missing to: part"></p>
  
  <p>The problem is some other email services does not receive that email.</p>
  
  <p>As for the original message content, it's too much details to black out to show here but basically my question is how can I use parentheses without breaking anything.</p>