![]() ![]() ![]() Option 1: For sendmailR, it seems that you're having issues with the appending of port 25. If I receive a workable solution i will also post it there as well. I did not receive a reply there (just members telling me they wish they could help). "ndmail(fromaddr, toaddrs, msg.as_string())", #Set SMTP server and send email, e.g., google mail SMTP server "fromaddr = MIMEText('This is the body of the message.')", RJython$exec("from email.MIMEText import MIMEText") The code that sends emails but not attachments: require(rJython) I am a windows 7 user with the 2.14 beta version of R. ![]() I want to send emails with R using gmail. I'd like to extend this code to send attachments (in an email correspondence the author of this code was unable to extend the code to send attachments). ![]() As the site suggests the code is not formatted to send attachments but I have got it to send an email. I found a code snippet found here (LINK). I have found that sendmailR does not work with gmail because it requires authentication (I couldn't get it to work with gmail so I assume this to be true unless someone tells me I'm wrong, in which case I'll post the R output and error message for that). I am desiring to send an email in R with an attachment using gmail. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |