Hi;<br>I created this testMail.py file as root:<br><br>#!/usr/bin/env python<br>import smtplib<br>session = smtplib.SMTP("localhost")<br>subject = "Hello, "<br>header = "Subject: %s \r\nContent-type: text/html; charset=utf-8\r\n\r\n"<br>
message = "world!"<br>email_from = "victor@is.awesome"<br>email_to = ["<a href="mailto:email@myhost.com">email@myhost.com</a>"]<br>session.sendmail(email_from, email_to, header+messages)<br><br>
[root@13gems <a href="http://globalsolutionsgroup.vi">globalsolutionsgroup.vi</a>]# chmod 755 testMail.py<br>[root@13gems <a href="http://globalsolutionsgroup.vi">globalsolutionsgroup.vi</a>]# python testMail.py<br>Traceback (most recent call last):<br>
  File "testMail.py", line 2, in ?<br>    import smtplib<br>  File "/usr/lib64/python2.4/smtplib.py", line 49, in ?<br>    from email.base64MIME import encode as encode_base64<br>ImportError: No module named base64MIME<br>
<br>What gives??<br>TIA,<br>Victor<br>