Not sure if I'm really helping, but I want to try for all the help I've gotten...<br>I took this from: <a href="http://docs.python.org/lib/module-email.message.html">http://docs.python.org/lib/module-email.message.html</a>
<br>##############################################################################<br><table cellpadding="0" cellspacing="0"><tbody><tr valign="baseline"><td><b><span class="typelabel">class</span>&nbsp;<tt id="l2h-1261" id="l2h-1261" class="class">
MIMEText</tt></b>(</td>
  <td><var>_text</var><big>[</big><var>, _subtype</var><big>[</big><var>, _charset</var><big>]</big><var></var><big>]</big><var></var>)</td></tr></tbody></table>
Module: <tt class="module">email.mime.text</tt>

<p>
A subclass of <tt class="class">MIMENonMultipart</tt>, the <tt class="class">MIMEText</tt> class is
used to create MIME objects of major type <span class="mimetype">text</span>.
<var>_text</var> is the string for the payload.  <var>_subtype</var> is the
minor type and defaults to <span class="mimetype">plain</span>.  <var>_charset</var> is the
character set of the text and is passed as a parameter to the
<tt class="class">MIMENonMultipart</tt> constructor; it defaults to <code>us-ascii</code>.  No
guessing or encoding is performed on the text data.</p><p>#############################################################################</p><p>Going off this, I'd say you need to change:</p><p>msg = MIMEText(message)&nbsp;&nbsp; <br>
</p><p>to:</p><p>msg = MIMEText(message, 'someTypeThatIsn'tPlain')&nbsp;&nbsp;&nbsp;

</p><div><span class="gmail_quote">On 11/16/06, <b class="gmail_sendername">shawn bright</b> &lt;<a href="mailto:nephish@gmail.com">nephish@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hey there all, <br>i am using the email package and the phone provider i am trying to get a text message thru has sent me an email that says that they are looking for a tag that says 'content-type text/plain' <br><br>i have tried about everything i can think of to get it in there, but everything i have tried has failed.
<br><br>here is what i have so far:<br>address = '<a href="mailto:someplace@someplace.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">someplace@someplace.com</a>'<br>message = 'some text that needs to be delivered via text message'
<br>msg = MIMEText(message)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>msg['Subject'] = 'pivots'<br>msg['From'] = '<a href="mailto:l11@xit.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">l11@xit.net</a>'<br>msg['To'] = address<br>server.sendmail(msg['From'],msg['To'], 
msg.as_string())<br><br>any ideas ?<br>thanks<br>

<br>_______________________________________________<br>Tutor maillist &nbsp;- &nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Tutor@python.org">Tutor@python.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">
http://mail.python.org/mailman/listinfo/tutor</a><br><br><br></blockquote></div><br>