James wrote:
All,
I'm trying to do something pretty simple, but I can't seem to get
Python to behave nicely. :)
I'd like to automate a script that sends out three or four lists in an
e-mail. I have a function dedicated to sending e-mail that will take a
string variable, slap it in a message, an
maybe StringIO ?
MsgBody = StringIO.StringIO()
print >> MsgBody, "Hello. Below is an automated e-mail with important
statistics."
print >> MsgBody, ""#empty line
print >> MsgBody, ""#empty line
print >> MsgBody, "The following user accounts expired today:"
print >> MsgBody, " - " %
All,
I'm trying to do something pretty simple, but I can't seem to get
Python to behave nicely. :)
I'd like to automate a script that sends out three or four lists in an
e-mail. I have a function dedicated to sending e-mail that will take a
string variable, slap it in a message, and send it on it