Hello, I am trying to call sendmail from within R via system(). As sendmail reads from STDIN, I need to pass a multiline input as an argument.
E.g. (not working): system('sendmail -f [EMAIL PROTECTED] -t [EMAIL PROTECTED]') I tried a lot of ways to type the EOL characters, but cannot get them work the right way. This leads to several problems. For instance, R waits for me to enter <control-D> at the end of the sequence. Thanks for any help. -- Nicolas Mazziotta The contents of this e-mail, including any attachments, are ...{{dropped}} ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.