title: Python Emailing - Use of colon causes no output
body: <p>Really odd experience with this which took me over an hour to figure out. I have a cgi script written in python which takes form data and forwards it to an email, the problem was, if there was a colon in the string it would cause python to output nothing to the email.</p>
  
  <p>Does anyone know why this is?</p>
  
  <p>For example:</p>
  
  <pre><code>output = "Print- Customer"
  </code></pre>
  
  <p>works, though:</p>
  
  <pre><code>output = "Print: Customer"
  </code></pre>
  
  <p>prints no output. </p>
  
  <p>My email function works essentially:</p>
  
  <pre><code>server.sendmail(fromaddr, toaddrs, msg)
  </code></pre>
  
  <p>where msg = output</p>
  
  <p>Just wondering if the colon is a special character in python string output</p>