search for: set_payload

Displaying 2 results from an estimated 2 matches for "set_payload".

2016 Jan 08
0
yum-cron / email sending problem
...cron", line 694, in <lambda> map(lambda x: x.sendMessages(), self.emitters) File "/usr/sbin/yum-cron", line 227, in sendMessages msg = MIMEText(''.join(self.output)) File "/usr/lib64/python2.7/email/mime/text.py", line 30, in __init__ self.set_payload(_text, _charset) File "/usr/lib64/python2.7/email/message.py", line 226, in set_payload self.set_charset(charset) File "/usr/lib64/python2.7/email/message.py", line 262, in set_charset self._payload = self._payload.encode(charset.output_charset) UnicodeEncodeErro...
2011 May 17
5
Email out of R (code)
Hi all, I thought I would post code to send an email out of R. The code uses Grothendieck and Bellosta's interface package rJython for executing Python from R. The code itself provides basic email functionality for email servers requiring authentication. It should be easy to extend it (e.g., for sending attachments). I hope it's useful. require(rJython) rJython <- rJython()